Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.312/2.312, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001016/0.001016, allocations: 173.1 kB / 498.1 MB, free: 5.754 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.503/1.503, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.0009669/0.0009669, allocations: 110.8 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 11.55 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.4955, allocations: 149.5 MB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.4959, allocations: 71.95 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007969/0.5039, allocations: 2.466 MB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.868e-06/0.5039, allocations: 0 / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.5039, allocations: 4 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007534/0.5047, allocations: 409 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.5048, allocations: 8.031 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.5048, allocations: 38.48 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.5049, allocations: 4 kB / 1.372 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.5051, allocations: 171 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.5051, allocations: 4 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.5052, allocations: 12 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.5054, allocations: 73.62 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5055, allocations: 4 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.5055, allocations: 0 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.5055, allocations: 0 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.5057, allocations: 51.89 kB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.5062, allocations: 324.7 kB / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.5066, allocations: 70.55 kB / 1.373 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.5066, allocations: 4.062 kB / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.5069, allocations: 107.3 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 2.355e-06/0.5069, allocations: 4 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0006183/0.5076, allocations: 189.5 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5076, allocations: 59.36 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.5078, allocations: 105 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.5078, allocations: 29.7 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.5079, allocations: 88.33 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.5079, allocations: 15.72 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.5079, allocations: 4 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5081, allocations: 322.8 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5083, allocations: 51.97 kB / 1.373 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5084, allocations: 74.3 kB / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.5086, allocations: 90.39 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5086, allocations: 0 / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004256/0.5091, allocations: 187.3 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.5091, allocations: 37.69 kB / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5091, allocations: 0 / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5091, allocations: 4 kB / 1.374 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.5093, allocations: 16.83 kB / 1.374 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5093, allocations: 0 / 1.374 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5095, allocations: 55.83 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.5095, allocations: 4 kB / 1.374 GB, free: 7.078 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001183/0.5096, allocations: 127.6 kB / 1.374 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.5097, allocations: 8 kB / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.5097, allocations: 8.375 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5097, allocations: 0 / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5097, allocations: 0 / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5097, allocations: 3.938 kB / 1.374 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.5103, allocations: 418.3 kB / 1.374 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5103, allocations: 4 kB / 1.374 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.5104, allocations: 8 kB / 1.374 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5104, allocations: 4 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5104, allocations: 0 / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5104, allocations: 3.938 kB / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5105, allocations: 11.92 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.5109, allocations: 239.4 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.5109, allocations: 85.02 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.511, allocations: 0 / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5111, allocations: 7.984 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.5111, allocations: 8 kB / 1.375 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.5112, allocations: 11.94 kB / 1.375 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.5112, allocations: 87.28 kB / 1.375 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.234e-06/0.5112, allocations: 0 / 1.375 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002769/0.5115, allocations: 31.92 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0007606/0.5123, allocations: 0.7945 MB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.5127, allocations: 187.3 kB / 1.376 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5127, allocations: 4.125 kB / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5129, allocations: 47.97 kB / 1.376 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.5131, allocations: 17.7 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.5139, allocations: 0.703 MB / 1.377 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5142, allocations: 0.6887 MB / 1.377 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.5143, allocations: 16.64 kB / 1.377 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.5143, allocations: 15.44 kB / 1.377 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.5143, allocations: 0 / 1.377 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.5286, allocations: 2.37 MB / 1.38 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.5289, allocations: 191 kB / 1.38 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.062, allocations: 1.875 kB / 1.38 GB, free: 0.8906 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat does not exist to compare? outputFormat=mat