Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 387.1 MB / 399.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 176.4 kB / 492.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 95.92 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.943e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3274, allocations: 142.4 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.379, allocations: 149.9 MB / 1.359 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.379, allocations: 67.45 kB / 1.359 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01929/1.399, allocations: 6.852 MB / 1.366 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.615e-06/1.399, allocations: 3.875 kB / 1.366 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.456e-05/1.399, allocations: 7.75 kB / 1.366 GB, free: 34.5 MB / 0.8386 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.0006915/1.4, allocations: 0.5885 MB / 1.366 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.4, allocations: 11.5 kB / 1.366 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/1.4, allocations: 53.52 kB / 1.366 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/1.4, allocations: 45.84 kB / 1.366 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/1.4, allocations: 315.5 kB / 1.367 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/1.4, allocations: 19 kB / 1.367 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/1.4, allocations: 36.98 kB / 1.367 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/1.401, allocations: 229.7 kB / 1.367 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/1.401, allocations: 0 / 1.367 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.401, allocations: 6.125 kB / 1.367 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.401, allocations: 15.58 kB / 1.367 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/1.401, allocations: 151.4 kB / 1.367 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.402, allocations: 0.8074 MB / 1.368 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/1.402, allocations: 201 kB / 1.368 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/1.402, allocations: 300.4 kB / 1.368 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.403, allocations: 3.844 kB / 1.368 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/1.403, allocations: 296.5 kB / 1.369 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/1.403, allocations: 3.938 kB / 1.369 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0005203/1.403, allocations: 408.6 kB / 1.369 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/1.403, allocations: 142.1 kB / 1.369 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/1.404, allocations: 225.6 kB / 1.369 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/1.404, allocations: 42.95 kB / 1.369 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.404, allocations: 138.6 kB / 1.37 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/1.404, allocations: 73.94 kB / 1.37 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/1.404, allocations: 14.41 kB / 1.37 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.404, allocations: 344.1 kB / 1.37 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/1.404, allocations: 225.2 kB / 1.37 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/1.405, allocations: 313.9 kB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/1.405, allocations: 351.7 kB / 1.371 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.405, allocations: 0 / 1.371 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009216/1.406, allocations: 0.7448 MB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/1.406, allocations: 136.7 kB / 1.372 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.406, allocations: 0 / 1.372 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.406, allocations: 3.781 kB / 1.372 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/1.406, allocations: 23.92 kB / 1.372 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.406, allocations: 7.844 kB / 1.372 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/1.407, allocations: 155.5 kB / 1.372 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.407, allocations: 74.84 kB / 1.372 GB, free: 31.81 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0001667/1.407, allocations: 165.9 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/1.407, allocations: 27.31 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/1.408, allocations: 443.3 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.408, allocations: 7.844 kB / 1.373 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.408, allocations: 0 / 1.373 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.408, allocations: 2.859 kB / 1.373 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/1.409, allocations: 0.8217 MB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.409, allocations: 0 / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/1.409, allocations: 25.28 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.409, allocations: 0 / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/1.409, allocations: 10.84 kB / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/1.409, allocations: 9.703 kB / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.409, allocations: 0 / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/1.409, allocations: 0.5044 MB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/1.409, allocations: 103.7 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/1.409, allocations: 14.19 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.409, allocations: 13.2 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/1.409, allocations: 24.66 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/1.41, allocations: 14.94 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001388/1.41, allocations: 180.3 kB / 1.374 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.41, allocations: 3.938 kB / 1.374 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003962/1.41, allocations: 94.92 kB / 1.374 GB, free: 30.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,booPul.y,booPul1.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.0007995/1.411, allocations: 1.086 MB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007717/1.412, allocations: 0.7313 MB / 1.376 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.412, allocations: 4.062 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.412, allocations: 198.7 kB / 1.376 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/1.412, allocations: 53.81 kB / 1.376 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/1.413, allocations: 0.5454 MB / 1.377 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/1.414, allocations: 0.773 MB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001784/1.414, allocations: 91.83 kB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.414, allocations: 103.7 kB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/1.414, allocations: 0 / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/1.435, allocations: 7.676 MB / 1.385 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.435, allocations: 170.5 kB / 1.385 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/3.447, allocations: 0 / 1.385 GB, free: 27.02 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat does not exist to compare? outputFormat=mat