Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",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.392/2.392, allocations: 393.5 MB / 408.4 MB, free: 10.9 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.001278/0.001278, allocations: 183.8 kB / 0.4901 GB, free: 2.098 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.625/1.625, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001237/0.001237, allocations: 101.2 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 15.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2729, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.4647, allocations: 150.7 MB / 1.376 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.465, allocations: 71.95 kB / 1.377 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01283/0.4779, allocations: 4.012 MB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4779, allocations: 3.938 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.4779, allocations: 4 kB / 1.38 GB, free: 14.64 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009144/0.4789, allocations: 0.5511 MB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4789, allocations: 8.031 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.255e-05/0.479, allocations: 54.53 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.4791, allocations: 35.75 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4793, allocations: 171 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.4794, allocations: 28.2 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.4794, allocations: 43.98 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.4799, allocations: 255.2 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.48, allocations: 4 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.48, allocations: 7.984 kB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.48, allocations: 3.984 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.4803, allocations: 128.6 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.4813, allocations: 0.5909 MB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.4819, allocations: 419.6 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.4819, allocations: 4 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006241/0.4826, allocations: 374.3 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 2.375e-06/0.4826, allocations: 0 / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.001136/0.4837, allocations: 0.6743 MB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4838, allocations: 75.09 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.4839, allocations: 137.1 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/0.484, allocations: 49.7 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.4841, allocations: 109.1 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.4842, allocations: 106.7 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.4843, allocations: 16 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4844, allocations: 334.8 kB / 1.384 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.4847, allocations: 145.1 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.4851, allocations: 295.3 kB / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.4854, allocations: 212.6 kB / 1.385 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.4854, allocations: 4 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009258/0.4864, allocations: 0.5698 MB / 1.386 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.4865, allocations: 76.75 kB / 1.386 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4865, allocations: 4 kB / 1.386 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.4865, allocations: 8 kB / 1.386 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4867, allocations: 47.84 kB / 1.386 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.4867, allocations: 11.94 kB / 1.386 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.4872, allocations: 107.9 kB / 1.386 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.4873, allocations: 35.98 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002065/0.4875, allocations: 176.8 kB / 1.386 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.4875, allocations: 27.8 kB / 1.386 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.4876, allocations: 26.27 kB / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4876, allocations: 8 kB / 1.386 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4876, allocations: 0 / 1.386 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4876, allocations: 3.984 kB / 1.386 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.4893, allocations: 1.065 MB / 1.387 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4893, allocations: 0 / 1.387 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.4893, allocations: 19.92 kB / 1.387 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4894, allocations: 64 / 1.387 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.4894, allocations: 19.98 kB / 1.387 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.4894, allocations: 3.984 kB / 1.387 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4894, allocations: 4 kB / 1.387 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.4903, allocations: 0.6718 MB / 1.388 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.4903, allocations: 96.83 kB / 1.388 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.4904, allocations: 19.98 kB / 1.388 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.4906, allocations: 39.95 kB / 1.388 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4907, allocations: 55.81 kB / 1.388 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.4908, allocations: 31.97 kB / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.4909, allocations: 101.8 kB / 1.388 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4909, allocations: 0 / 1.388 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004703/0.4913, allocations: 112 kB / 1.388 GB, free: 6.059 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001338/0.4927, allocations: 1.405 MB / 1.39 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007947/0.4935, allocations: 0.5537 MB / 1.39 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4935, allocations: 0 / 1.39 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.4939, allocations: 313.1 kB / 1.391 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4942, allocations: 36.09 kB / 1.391 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4965, allocations: 3.722 MB / 1.394 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4968, allocations: 0.7422 MB / 1.395 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.188e-05/0.4969, allocations: 30.95 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.497, allocations: 63.42 kB / 1.395 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of SimCode: time 6.91e-07/0.497, allocations: 0 / 1.395 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.5151, allocations: 5.56 MB / 1.4 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.5154, allocations: 221.3 kB / 1.401 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.37, allocations: 0 / 1.401 GB, free: 9.406 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat does not exist to compare? outputFormat=mat