Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001186/0.001186, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.588/1.588, allocations: 223.1 MB / 0.7948 GB, free: 18.86 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.00105/0.00105, allocations: 104.4 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003798, allocations: 10.44 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4226, allocations: 149.7 MB / 1.369 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4229, allocations: 71.97 kB / 1.369 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006129/0.4291, allocations: 2.095 MB / 1.371 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4291, allocations: 3.938 kB / 1.371 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.4291, allocations: 0 / 1.371 GB, free: 1.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000487/0.4296, allocations: 420.7 kB / 1.372 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4297, allocations: 8.031 kB / 1.372 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.4297, allocations: 38.55 kB / 1.372 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.4297, allocations: 8 kB / 1.372 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4299, allocations: 170.9 kB / 1.372 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4299, allocations: 0 / 1.372 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.4299, allocations: 8 kB / 1.372 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.4301, allocations: 73.66 kB / 1.372 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4301, allocations: 0 / 1.372 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4301, allocations: 0 / 1.372 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4302, allocations: 3.938 kB / 1.372 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.4303, allocations: 59.89 kB / 1.372 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.4308, allocations: 336.7 kB / 1.372 GB, free: 244 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.431, allocations: 70.53 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.431, allocations: 0 / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4312, allocations: 95.5 kB / 1.372 GB, free: 56 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.4313, allocations: 0 / 1.372 GB, free: 56 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004388/0.4317, allocations: 157.5 kB / 1.373 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4317, allocations: 55.36 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.4318, allocations: 116.9 kB / 1.373 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.4319, allocations: 29.7 kB / 1.373 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.4319, allocations: 100 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.432, allocations: 15.88 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.432, allocations: 4 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4321, allocations: 322.8 kB / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4323, allocations: 59.97 kB / 1.373 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.4325, allocations: 96.12 kB / 1.373 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4326, allocations: 89.97 kB / 1.373 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4326, allocations: 0 / 1.373 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004356/0.4331, allocations: 215.1 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.4331, allocations: 37.7 kB / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4331, allocations: 4.125 kB / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4332, allocations: 0 / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.4333, allocations: 15.98 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4333, allocations: 3.938 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.4335, allocations: 51.91 kB / 1.374 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.4335, allocations: 12 kB / 1.374 GB, free: 14.62 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 9.335e-05/0.4336, allocations: 119.1 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.4336, allocations: 7.906 kB / 1.374 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.4337, allocations: 12.36 kB / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4337, allocations: 0 / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4337, allocations: 0 / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4337, allocations: 0 / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.4341, allocations: 390.4 kB / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4342, allocations: 0 / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.4342, allocations: 12 kB / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4342, allocations: 0 / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4342, allocations: 11.98 kB / 1.374 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4343, allocations: 0 / 1.374 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4343, allocations: 3.953 kB / 1.374 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.4346, allocations: 219.3 kB / 1.375 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.4346, allocations: 92.89 kB / 1.375 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.4346, allocations: 3.938 kB / 1.375 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.4347, allocations: 15.98 kB / 1.375 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.4348, allocations: 11.94 kB / 1.375 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4348, allocations: 0 / 1.375 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.4348, allocations: 87.28 kB / 1.375 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4348, allocations: 4 kB / 1.375 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002561/0.4351, allocations: 31.98 kB / 1.375 GB, free: 13.52 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.0005935/0.4357, allocations: 0.7591 MB / 1.375 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.4361, allocations: 187.3 kB / 1.376 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4361, allocations: 4.25 kB / 1.376 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.4362, allocations: 43.97 kB / 1.376 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.4364, allocations: 8.859 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.4372, allocations: 1.022 MB / 1.377 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.4374, allocations: 0.6887 MB / 1.377 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.4375, allocations: 7.781 kB / 1.377 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.4375, allocations: 23.42 kB / 1.377 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.4375, allocations: 0 / 1.377 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.4505, allocations: 2.17 MB / 1.38 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.4507, allocations: 182 kB / 1.38 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.97, allocations: 4 kB / 1.38 GB, free: 8.355 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat does not exist to compare? outputFormat=mat