Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.TimerAccumulating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.398/2.398, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001079/0.001079, allocations: 185.9 kB / 0.4901 GB, free: 2.234 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.523/1.523, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001257/0.001257, allocations: 93.61 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004571, allocations: 11.25 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3081, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.4966, allocations: 150.7 MB / 1.376 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4968, allocations: 71.95 kB / 1.377 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01231/0.5092, allocations: 3.996 MB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5092, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.5092, allocations: 4 kB / 1.38 GB, free: 14.66 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.001002/0.5102, allocations: 0.5635 MB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5103, allocations: 8.562 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.5104, allocations: 54.53 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.5105, allocations: 31.77 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.5107, allocations: 178.8 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.5107, allocations: 20.22 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/0.5108, allocations: 47.97 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.5113, allocations: 259.2 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.5113, allocations: 0 / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.5114, allocations: 7.984 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5114, allocations: 4 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.5116, allocations: 135.4 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.5126, allocations: 0.587 MB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.5132, allocations: 411.7 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.5132, allocations: 4.438 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006519/0.5139, allocations: 374.3 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 2.224e-06/0.5139, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.001109/0.515, allocations: 0.6782 MB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5151, allocations: 75.14 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5152, allocations: 133.1 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.5153, allocations: 53.64 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.5154, allocations: 105.1 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5155, allocations: 102.8 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.5155, allocations: 12 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5156, allocations: 338.8 kB / 1.384 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.5159, allocations: 145.1 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.5163, allocations: 291.3 kB / 1.385 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.5167, allocations: 220.6 kB / 1.385 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.5167, allocations: 4 kB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009932/0.5177, allocations: 0.5658 MB / 1.386 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/0.5178, allocations: 75.34 kB / 1.386 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5178, allocations: 4 kB / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.5178, allocations: 8 kB / 1.386 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.518, allocations: 47.8 kB / 1.386 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.518, allocations: 11.94 kB / 1.386 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.5185, allocations: 116.1 kB / 1.386 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.5186, allocations: 28 kB / 1.386 GB, free: 8.672 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.0002225/0.5188, allocations: 182.9 kB / 1.386 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.5189, allocations: 23.81 kB / 1.386 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.519, allocations: 30.25 kB / 1.386 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.519, allocations: 8 kB / 1.386 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.519, allocations: 0 / 1.386 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.519, allocations: 4 kB / 1.386 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5206, allocations: 1.065 MB / 1.387 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5206, allocations: 0 / 1.387 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.5207, allocations: 15.92 kB / 1.387 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5207, allocations: 4 kB / 1.387 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.5208, allocations: 24.03 kB / 1.387 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5208, allocations: 4.062 kB / 1.387 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5208, allocations: 4 kB / 1.387 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008889/0.5217, allocations: 0.6639 MB / 1.388 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.5218, allocations: 100.8 kB / 1.388 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.5219, allocations: 31.91 kB / 1.388 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.5221, allocations: 31.97 kB / 1.388 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.5222, allocations: 51.86 kB / 1.388 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.5222, allocations: 31.98 kB / 1.388 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.5223, allocations: 99.27 kB / 1.388 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5223, allocations: 0 / 1.388 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004519/0.5228, allocations: 112 kB / 1.388 GB, free: 6.074 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.001458/0.5242, allocations: 1.402 MB / 1.39 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000869/0.5251, allocations: 0.5499 MB / 1.39 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5251, allocations: 1.125 kB / 1.39 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.5256, allocations: 308.1 kB / 1.391 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.5259, allocations: 32.08 kB / 1.391 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.5285, allocations: 3.726 MB / 1.394 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.5289, allocations: 0.7461 MB / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.529, allocations: 34.95 kB / 1.395 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.5291, allocations: 63.41 kB / 1.395 GB, free: 15 MB / 0.9011 GB Notification: Performance of SimCode: time 6.22e-07/0.5291, allocations: 0 / 1.395 GB, free: 15 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.5482, allocations: 5.529 MB / 1.4 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.5484, allocations: 190 kB / 1.401 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.408, allocations: 0.5 kB / 1.401 GB, free: 9.422 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat does not exist to compare? outputFormat=mat