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.324/2.324, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001193/0.001193, allocations: 165 kB / 492.3 MB, free: 0.6055 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.587/1.587, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008967/0.0008967, allocations: 99.25 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.097e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 142.4 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.372, allocations: 149.6 MB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.372, allocations: 75.44 kB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006673/1.379, allocations: 2.097 MB / 1.361 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.379, allocations: 3.875 kB / 1.361 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.379, allocations: 3.688 kB / 1.361 GB, free: 34.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004425/1.38, allocations: 392.5 kB / 1.361 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.38, allocations: 11.69 kB / 1.361 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/1.38, allocations: 41.69 kB / 1.361 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/1.38, allocations: 7.688 kB / 1.361 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/1.38, allocations: 176.2 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.38, allocations: 7.188 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/1.38, allocations: 9.562 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/1.38, allocations: 47.66 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.38, allocations: 0 / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.38, allocations: 4 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/1.38, allocations: 6.719 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/1.38, allocations: 22.56 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/1.381, allocations: 328.8 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/1.381, allocations: 48.3 kB / 1.362 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/1.381, allocations: 17.53 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/1.381, allocations: 7.156 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/1.381, allocations: 74.52 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.381, allocations: 0 / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001991/1.381, allocations: 90.92 kB / 1.362 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.381, allocations: 63.17 kB / 1.362 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/1.381, allocations: 107.2 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/1.381, allocations: 33.27 kB / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/1.381, allocations: 92.3 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/1.381, allocations: 16.91 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.381, allocations: 0 / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/1.382, allocations: 321.7 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/1.382, allocations: 36.84 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/1.382, allocations: 80.47 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.949e-05/1.382, allocations: 63.95 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.382, allocations: 5.719 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/1.382, allocations: 182.3 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.382, allocations: 42.92 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.382, allocations: 5.062 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.382, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/1.382, allocations: 14.58 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.382, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/1.383, allocations: 54.02 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.383, allocations: 9.156 kB / 1.363 GB, free: 32.69 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 8.316e-05/1.383, allocations: 120.6 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/1.383, allocations: 9.531 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/1.383, allocations: 9.422 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.383, allocations: 0 / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.383, allocations: 7.984 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.383, allocations: 3.844 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/1.383, allocations: 345.1 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.383, allocations: 1.688 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/1.383, allocations: 13.84 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.383, allocations: 3.812 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/1.383, allocations: 1.547 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.383, allocations: 4 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.383, allocations: 3.953 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/1.383, allocations: 183 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/1.383, allocations: 81.02 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/1.383, allocations: 9.984 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/1.384, allocations: 6.844 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/1.384, allocations: 7.328 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/1.384, allocations: 11.8 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.299e-05/1.384, allocations: 93.05 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.384, allocations: 0 / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002449/1.384, allocations: 31.94 kB / 1.364 GB, free: 31.93 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.0004734/1.384, allocations: 0.739 MB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002249/1.385, allocations: 145.2 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.385, allocations: 0 / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/1.385, allocations: 33.81 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/1.385, allocations: 10.64 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/1.385, allocations: 141.8 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/1.386, allocations: 0.6932 MB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.629e-05/1.386, allocations: 9.344 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/1.386, allocations: 19.53 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/1.386, allocations: 0 / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/1.399, allocations: 2.206 MB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/1.399, allocations: 158 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.952, allocations: 3.875 kB / 1.368 GB, free: 29.88 MB / 0.8386 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