Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 289.7 MB / 302.2 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 179.1 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.0009082, allocations: 94.23 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.448e-05/4.452e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9705/1.253, allocations: 139.5 MB / 1.116 GB, free: 44.37 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.254, allocations: 71.38 kB / 1.116 GB, free: 44.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01663/1.27, allocations: 3.988 MB / 1.12 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.665e-06/1.27, allocations: 0.5625 kB / 1.12 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.353e-05/1.27, allocations: 4 kB / 1.12 GB, free: 42.08 MB / 0.7448 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.001029/1.271, allocations: 0.5315 MB / 1.121 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/1.272, allocations: 8.031 kB / 1.121 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.481e-05/1.272, allocations: 57.91 kB / 1.121 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/1.272, allocations: 27.81 kB / 1.121 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/1.272, allocations: 190.3 kB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/1.272, allocations: 22.22 kB / 1.121 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/1.272, allocations: 41.27 kB / 1.121 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/1.273, allocations: 251.2 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.273, allocations: 0 / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/1.273, allocations: 10.42 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/1.273, allocations: 4 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/1.273, allocations: 121.3 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/1.274, allocations: 0.5964 MB / 1.122 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/1.275, allocations: 411.1 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/1.276, allocations: 205.9 kB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/1.276, allocations: 8 kB / 1.123 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007486/1.276, allocations: 356.8 kB / 1.123 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 4.508e-06/1.276, allocations: 11.88 kB / 1.123 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.001155/1.277, allocations: 0.5175 MB / 1.123 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/1.278, allocations: 70.66 kB / 1.123 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.278, allocations: 128.7 kB / 1.124 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/1.278, allocations: 53.14 kB / 1.124 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/1.278, allocations: 97.2 kB / 1.124 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.278, allocations: 100.2 kB / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/1.278, allocations: 19.56 kB / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/1.278, allocations: 332.7 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/1.279, allocations: 145.4 kB / 1.124 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/1.279, allocations: 293.4 kB / 1.125 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/1.279, allocations: 216.9 kB / 1.125 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.279, allocations: 0 / 1.125 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001257/1.281, allocations: 0.5534 MB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/1.281, allocations: 74.09 kB / 1.125 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.281, allocations: 9.156 kB / 1.125 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/1.281, allocations: 11.95 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/1.281, allocations: 47.66 kB / 1.125 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/1.281, allocations: 11.52 kB / 1.125 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/1.282, allocations: 104.6 kB / 1.126 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/1.282, allocations: 31.81 kB / 1.126 GB, free: 37.71 MB / 0.7448 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.0002628/1.282, allocations: 171 kB / 1.126 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/1.282, allocations: 31.89 kB / 1.126 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/1.282, allocations: 21.25 kB / 1.126 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.282, allocations: 8 kB / 1.126 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.282, allocations: 3.953 kB / 1.126 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.283, allocations: 3.469 kB / 1.126 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/1.285, allocations: 1.042 MB / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.285, allocations: 0.8125 kB / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.285, allocations: 24.33 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/1.285, allocations: 0 / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/1.285, allocations: 18.92 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.285, allocations: 7.938 kB / 1.127 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.285, allocations: 0.9375 kB / 1.127 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/1.286, allocations: 0.6658 MB / 1.128 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/1.286, allocations: 96.83 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/1.286, allocations: 21.44 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/1.286, allocations: 37.48 kB / 1.128 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.287, allocations: 51.92 kB / 1.128 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/1.287, allocations: 32.89 kB / 1.128 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.018e-05/1.287, allocations: 103.1 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.51e-07/1.287, allocations: 0.75 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008608/1.288, allocations: 110.1 kB / 1.128 GB, free: 35.88 MB / 0.7448 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.001562/1.289, allocations: 1.381 MB / 1.129 GB, free: 34.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.29, allocations: 0.5495 MB / 1.13 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.29, allocations: 0 / 1.13 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/1.291, allocations: 301.5 kB / 1.13 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/1.291, allocations: 34.06 kB / 1.13 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/1.293, allocations: 442.5 kB / 1.131 GB, free: 33.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/1.293, allocations: 0.7416 MB / 1.131 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001292/1.293, allocations: 27.39 kB / 1.131 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.293, allocations: 65.77 kB / 1.131 GB, free: 32.9 MB / 0.7448 GB Notification: Performance of SimCode: time 1.693e-06/1.293, allocations: 8.875 kB / 1.131 GB, free: 32.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/1.321, allocations: 5.681 MB / 1.137 GB, free: 29.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002911/1.322, allocations: 179.6 kB / 1.137 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/3.309, allocations: 2.812 kB / 1.137 GB, free: 29.48 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)