Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.642/2.642, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004135, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8106, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001212/0.8118, allocations: 0.7041 MB / 0.9818 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.8135, allocations: 1.432 MB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.8136, allocations: 4 kB / 0.9832 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.8137, allocations: 15.8 kB / 0.9833 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.8138, allocations: 27.78 kB / 0.9833 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.8148, allocations: 411 kB / 0.9837 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.8152, allocations: 415.8 kB / 0.9841 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.8154, allocations: 93.98 kB / 0.9842 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.8157, allocations: 163.6 kB / 0.9843 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.8159, allocations: 135.4 kB / 0.9845 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.8159, allocations: 20 kB / 0.9845 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.8161, allocations: 27.98 kB / 0.9845 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.8161, allocations: 43.84 kB / 0.9845 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.8162, allocations: 77.52 kB / 0.9846 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.8166, allocations: 385.2 kB / 0.985 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8166, allocations: 0 / 0.985 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8166, allocations: 0 / 0.985 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8166, allocations: 0 / 0.985 GB, free: 2.332 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006481/0.8172, allocations: 0.6068 MB / 0.9856 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.8173, allocations: 8.031 kB / 0.9856 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.8174, allocations: 54.55 kB / 0.9856 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.8174, allocations: 43.61 kB / 0.9857 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008978/0.8184, allocations: 373.1 kB / 0.986 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.8184, allocations: 24.38 kB / 0.9861 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.8185, allocations: 31.95 kB / 0.9861 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.8188, allocations: 228.5 kB / 0.9863 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.8188, allocations: 3.938 kB / 0.9863 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.8189, allocations: 15.98 kB / 0.9863 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.8189, allocations: 7.938 kB / 0.9863 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.8191, allocations: 139.3 kB / 0.9865 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.8202, allocations: 0.7617 MB / 0.9872 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.8205, allocations: 182.5 kB / 0.9874 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.8207, allocations: 216.7 kB / 0.9876 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.8208, allocations: 0 / 0.9876 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.8211, allocations: 247.8 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.262e-06/0.8211, allocations: 0 / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.000637/0.8217, allocations: 419 kB / 0.9882 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.8218, allocations: 111.2 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.8221, allocations: 286.4 kB / 0.9886 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.8221, allocations: 37.7 kB / 0.9886 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.8223, allocations: 156.7 kB / 0.9888 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.8223, allocations: 63.25 kB / 0.9888 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.8224, allocations: 12 kB / 0.9889 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8225, allocations: 338.8 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.8228, allocations: 200.2 kB / 0.9894 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.8232, allocations: 316.4 kB / 0.9897 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.8236, allocations: 340 kB / 0.99 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8237, allocations: 0 / 0.99 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009988/0.8247, allocations: 0.7133 MB / 0.9907 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/0.8247, allocations: 130.7 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.8248, allocations: 4 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.8248, allocations: 4 kB / 0.9908 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.8249, allocations: 23.92 kB / 0.9908 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.8249, allocations: 11.94 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.8255, allocations: 176.1 kB / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.8256, allocations: 75.81 kB / 0.9911 GB, free: 11.66 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.8258, allocations: 181.8 kB / 0.9913 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.8259, allocations: 23.72 kB / 0.9913 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.8264, allocations: 368.7 kB / 0.9916 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.8264, allocations: 4 kB / 0.9917 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8264, allocations: 0 / 0.9917 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.8264, allocations: 3.984 kB / 0.9917 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/0.8272, allocations: 0.7172 MB / 0.9924 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8272, allocations: 0 / 0.9924 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.8273, allocations: 23.92 kB / 0.9924 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.8273, allocations: 0 / 0.9924 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.8273, allocations: 15.92 kB / 0.9924 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8273, allocations: 0 / 0.9924 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8273, allocations: 3.953 kB / 0.9924 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.8279, allocations: 411 kB / 0.9928 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.8279, allocations: 104.8 kB / 0.9929 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.828, allocations: 11.98 kB / 0.9929 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.8281, allocations: 9.125 kB / 0.9929 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.8282, allocations: 19.97 kB / 0.9929 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.8282, allocations: 19.94 kB / 0.9929 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001748/0.8284, allocations: 186 kB / 0.9931 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.053e-06/0.8284, allocations: 0 / 0.9931 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004085/0.8288, allocations: 91.84 kB / 0.9932 GB, free: 9.395 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008171/0.8296, allocations: 0.9686 MB / 0.9942 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008553/0.8305, allocations: 0.6543 MB / 0.9948 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8305, allocations: 4.062 kB / 0.9948 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.8307, allocations: 135.9 kB / 0.9949 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.8312, allocations: 53.73 kB / 0.995 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.8341, allocations: 1.942 MB / 0.9969 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.8345, allocations: 0.769 MB / 0.9976 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.8346, allocations: 62.92 kB / 0.9977 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.8348, allocations: 99.39 kB / 0.9978 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/0.8348, allocations: 4 kB / 0.9978 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.8545, allocations: 7.33 MB / 1.005 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.8547, allocations: 205.6 kB / 1.005 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.768, allocations: 0 / 1.005 GB, free: 13.2 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat does not exist to compare? outputFormat=mat