Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.468/2.468, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001455/0.001455, allocations: 187.9 kB / 0.4901 GB, free: 2.082 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.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 15.51 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.0009551/0.0009551, allocations: 107.5 kB / 0.9396 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 10.72 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3007, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.5006, allocations: 150.4 MB / 1.376 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5009, allocations: 71.95 kB / 1.376 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.006698/0.5076, allocations: 2.107 MB / 1.378 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5077, allocations: 0 / 1.378 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.5077, allocations: 4 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005805/0.5083, allocations: 416.8 kB / 1.379 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5083, allocations: 12.56 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.5084, allocations: 30.56 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.5084, allocations: 4 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.5086, allocations: 174.9 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.5086, allocations: 11.98 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.5087, allocations: 8 kB / 1.379 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.5089, allocations: 61.67 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.5089, allocations: 0 / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.5089, allocations: 3.984 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.5089, allocations: 4 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.5092, allocations: 51.91 kB / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.5097, allocations: 336.7 kB / 1.379 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.5099, allocations: 74.48 kB / 1.379 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.5099, allocations: 3.938 kB / 1.379 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.5102, allocations: 95.47 kB / 1.38 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.5102, allocations: 0 / 1.38 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0004805/0.5107, allocations: 153.5 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.5108, allocations: 67.3 kB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.5109, allocations: 105.3 kB / 1.38 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.5109, allocations: 33.69 kB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.511, allocations: 92.12 kB / 1.38 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.5111, allocations: 19.8 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.5111, allocations: 4 kB / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5112, allocations: 318.8 kB / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.5114, allocations: 55.97 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.5116, allocations: 88.25 kB / 1.38 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.5118, allocations: 85.67 kB / 1.381 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5118, allocations: 4 kB / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005122/0.5123, allocations: 219.1 kB / 1.381 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.5124, allocations: 37.69 kB / 1.381 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5124, allocations: 0 / 1.381 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5124, allocations: 4 kB / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5125, allocations: 16 kB / 1.381 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.5126, allocations: 7.922 kB / 1.381 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.5128, allocations: 48.02 kB / 1.381 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.5128, allocations: 11.98 kB / 1.381 GB, free: 9.656 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * 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.0001151/0.513, allocations: 119.1 kB / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.513, allocations: 11.91 kB / 1.381 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.513, allocations: 4.375 kB / 1.381 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.513, allocations: 4 kB / 1.381 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.513, allocations: 0 / 1.381 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5131, allocations: 4.047 kB / 1.381 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.5136, allocations: 394.4 kB / 1.381 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5136, allocations: 7.938 kB / 1.381 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.5137, allocations: 11.98 kB / 1.381 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5137, allocations: 0 / 1.381 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5137, allocations: 0 / 1.381 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5137, allocations: 0 / 1.381 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5137, allocations: 3.953 kB / 1.381 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.514, allocations: 227.3 kB / 1.382 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.5141, allocations: 81.05 kB / 1.382 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.5141, allocations: 7.984 kB / 1.382 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.5142, allocations: 8 kB / 1.382 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.5143, allocations: 11.94 kB / 1.382 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5143, allocations: 11.94 kB / 1.382 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.5144, allocations: 95.42 kB / 1.382 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5144, allocations: 0 / 1.382 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002817/0.5147, allocations: 23.91 kB / 1.382 GB, free: 8.543 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007633/0.5154, allocations: 0.7683 MB / 1.383 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.5159, allocations: 183.3 kB / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5159, allocations: 0 / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.5161, allocations: 48.03 kB / 1.383 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.5163, allocations: 21.09 kB / 1.383 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.5173, allocations: 1.007 MB / 1.384 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5176, allocations: 0.6965 MB / 1.385 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.5177, allocations: 11.78 kB / 1.385 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.5178, allocations: 19.44 kB / 1.385 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5178, allocations: 0 / 1.385 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.5322, allocations: 2.178 MB / 1.387 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.5324, allocations: 184.7 kB / 1.387 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.114, allocations: 0 / 1.387 GB, free: 3.387 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat does not exist to compare? outputFormat=mat