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.311/2.311, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.001467/0.001468, allocations: 180.9 kB / 496.1 MB, free: 12.88 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.513/1.513, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0008812/0.0008811, allocations: 79.97 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.755e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2773, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8582/1.135, allocations: 150.6 MB / 1.366 GB, free: 3.402 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/1.136, allocations: 73.83 kB / 1.366 GB, free: 3.363 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01222/1.148, allocations: 3.979 MB / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.148, allocations: 0 / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.148, allocations: 4 kB / 1.37 GB, free: 15.87 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000837/1.149, allocations: 0.5439 MB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.149, allocations: 8.031 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.715e-05/1.149, allocations: 50.41 kB / 1.371 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/1.149, allocations: 39.75 kB / 1.371 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/1.149, allocations: 175 kB / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/1.149, allocations: 23.34 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/1.149, allocations: 43.11 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/1.15, allocations: 249.5 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.15, allocations: 0 / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/1.15, allocations: 14.53 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.15, allocations: 7.984 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/1.15, allocations: 120.5 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/1.151, allocations: 0.5918 MB / 1.372 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/1.152, allocations: 416.1 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/1.152, allocations: 211 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/1.152, allocations: 4 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005987/1.153, allocations: 355.2 kB / 1.373 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.054e-06/1.153, allocations: 7.938 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0008956/1.153, allocations: 0.5253 MB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/1.153, allocations: 66.95 kB / 1.373 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.154, allocations: 132 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/1.154, allocations: 48.2 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/1.154, allocations: 100 kB / 1.374 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/1.154, allocations: 99.94 kB / 1.374 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/1.154, allocations: 18.88 kB / 1.374 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.154, allocations: 337.3 kB / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/1.154, allocations: 139.1 kB / 1.374 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/1.155, allocations: 296.4 kB / 1.374 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/1.155, allocations: 217.8 kB / 1.375 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.155, allocations: 0 / 1.375 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008843/1.156, allocations: 0.5651 MB / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/1.156, allocations: 71.09 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.156, allocations: 4 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.156, allocations: 12 kB / 1.375 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/1.156, allocations: 47.41 kB / 1.375 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.156, allocations: 11.94 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/1.157, allocations: 110.7 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/1.157, allocations: 31.86 kB / 1.375 GB, free: 10.88 MB / 0.8386 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 () * 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.0001617/1.157, allocations: 172.4 kB / 1.376 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/1.157, allocations: 27.8 kB / 1.376 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/1.157, allocations: 27.39 kB / 1.376 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.157, allocations: 8 kB / 1.376 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.157, allocations: 0 / 1.376 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.157, allocations: 3.984 kB / 1.376 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/1.159, allocations: 1.052 MB / 1.377 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.159, allocations: 0 / 1.377 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/1.159, allocations: 15.94 kB / 1.377 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/1.159, allocations: 0 / 1.377 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/1.159, allocations: 23.09 kB / 1.377 GB, free: 9.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.159, allocations: 4 kB / 1.377 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.159, allocations: 0 / 1.377 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/1.16, allocations: 0.6581 MB / 1.377 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/1.16, allocations: 100.8 kB / 1.377 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/1.16, allocations: 18.36 kB / 1.377 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/1.16, allocations: 42.89 kB / 1.377 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/1.16, allocations: 51.38 kB / 1.378 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/1.16, allocations: 36.66 kB / 1.378 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.242e-05/1.16, allocations: 99.25 kB / 1.378 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.16, allocations: 0 / 1.378 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004732/1.161, allocations: 118.3 kB / 1.378 GB, free: 8.715 MB / 0.8386 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) * 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.001278/1.162, allocations: 1.38 MB / 1.379 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007906/1.163, allocations: 0.5408 MB / 1.38 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.163, allocations: 0 / 1.38 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/1.163, allocations: 298.1 kB / 1.38 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/1.163, allocations: 31.73 kB / 1.38 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000979/1.164, allocations: 450.1 kB / 1.38 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/1.165, allocations: 0.7343 MB / 1.381 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.48e-05/1.165, allocations: 34.95 kB / 1.381 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.165, allocations: 62.48 kB / 1.381 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of SimCode: time 1.343e-06/1.165, allocations: 4 kB / 1.381 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/1.184, allocations: 5.667 MB / 1.387 GB, free: 92 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.184, allocations: 184.6 kB / 1.387 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.947, allocations: 0 / 1.387 GB, free: 15.86 MB / 0.8542 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