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.579/2.579, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001169/0.00117, allocations: 176.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.3 MB / 0.7915 GB, free: 5.473 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.0009416/0.0009417, allocations: 99.88 kB / 0.9318 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.987e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2907, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.964/1.255, allocations: 150.4 MB / 1.366 GB, free: 3.609 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/1.255, allocations: 69.02 kB / 1.366 GB, free: 3.574 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005962/1.261, allocations: 2.093 MB / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.736e-06/1.261, allocations: 0 / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.261, allocations: 7.25 kB / 1.368 GB, free: 1.746 MB / 0.823 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.000454/1.262, allocations: 399.7 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.262, allocations: 12.03 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/1.262, allocations: 34.5 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/1.262, allocations: 8 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/1.262, allocations: 178.8 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/1.262, allocations: 10.75 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/1.262, allocations: 11.98 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/1.262, allocations: 48.38 kB / 1.369 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/1.262, allocations: 0 / 1.369 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/1.262, allocations: 4 kB / 1.369 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-06/1.262, allocations: 0 / 1.369 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.102e-05/1.262, allocations: 18.44 kB / 1.369 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/1.262, allocations: 331.4 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/1.263, allocations: 48.33 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/1.263, allocations: 20.55 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/1.263, allocations: 4 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/1.263, allocations: 81.31 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/1.263, allocations: 0 / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0001864/1.263, allocations: 88.55 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/1.263, allocations: 51.41 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/1.263, allocations: 111.8 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/1.263, allocations: 33.45 kB / 1.369 GB, free: 180 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/1.263, allocations: 91.92 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/1.263, allocations: 19.42 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.263, allocations: 3.938 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.263, allocations: 317.8 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/1.263, allocations: 42.67 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/1.264, allocations: 77.48 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.74e-05/1.264, allocations: 69.28 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.264, allocations: 4 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002916/1.264, allocations: 181.8 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/1.264, allocations: 45.25 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.264, allocations: 4 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.264, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/1.264, allocations: 15.98 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.264, allocations: 4.656 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/1.264, allocations: 47.95 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.264, allocations: 11.44 kB / 1.37 GB, free: 15.3 MB / 0.8386 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 () * 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 7.872e-05/1.265, allocations: 117.6 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/1.265, allocations: 7.906 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/1.265, allocations: 8.438 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/1.265, allocations: 3.984 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.265, allocations: 8 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.265, allocations: 3.953 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/1.265, allocations: 342.3 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.265, allocations: 0 / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/1.265, allocations: 15.92 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.265, allocations: 0 / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/1.265, allocations: 3.062 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.265, allocations: 8.031 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.265, allocations: 8.047 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/1.265, allocations: 182 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/1.265, allocations: 85.02 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/1.265, allocations: 0 / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/1.265, allocations: 10.67 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/1.266, allocations: 11.94 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.266, allocations: 8 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.935e-05/1.266, allocations: 93.03 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.266, allocations: 0 / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002378/1.266, allocations: 35.23 kB / 1.371 GB, free: 14.32 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0005098/1.266, allocations: 0.7202 MB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002165/1.267, allocations: 157.8 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/1.267, allocations: 0 / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/1.267, allocations: 27.25 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.267, allocations: 14.94 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/1.267, allocations: 141 kB / 1.372 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/1.267, allocations: 0.6929 MB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.442e-05/1.268, allocations: 11.77 kB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/1.268, allocations: 17.62 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/1.268, allocations: 0 / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/1.282, allocations: 2.202 MB / 1.375 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.282, allocations: 165.1 kB / 1.375 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.785, allocations: 3.938 kB / 1.375 GB, free: 10.22 MB / 0.8386 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