Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009906/0.0009906, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005648/0.000565, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7516, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001973/0.7536, allocations: 1.444 MB / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.7547, allocations: 0.6867 MB / 0.983 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.7548, allocations: 3.938 kB / 0.983 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.7549, allocations: 11.86 kB / 0.983 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.755, allocations: 35.92 kB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009098/0.7559, allocations: 350.4 kB / 0.9833 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.7562, allocations: 235.6 kB / 0.9836 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.7564, allocations: 56.25 kB / 0.9836 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.7566, allocations: 139.6 kB / 0.9838 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.7567, allocations: 127.5 kB / 0.9839 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.7568, allocations: 20 kB / 0.9839 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.7569, allocations: 31.98 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.757, allocations: 43.88 kB / 0.984 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.266e-05/0.7571, allocations: 77.58 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.7574, allocations: 273.5 kB / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7574, allocations: 0 / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7574, allocations: 0 / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.7574, allocations: 0 / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007517/0.7582, allocations: 0.5589 MB / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7582, allocations: 12.03 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.7583, allocations: 50.55 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.7584, allocations: 31.8 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.7592, allocations: 312.8 kB / 0.9852 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.7592, allocations: 28.27 kB / 0.9853 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.7593, allocations: 39.94 kB / 0.9853 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.7596, allocations: 172.2 kB / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7596, allocations: 0 / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.7597, allocations: 11.98 kB / 0.9855 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.7597, allocations: 4 kB / 0.9855 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.7599, allocations: 108.2 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.761, allocations: 0.5937 MB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.7614, allocations: 210.3 kB / 0.9864 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.7614, allocations: 4 kB / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004216/0.7619, allocations: 247 kB / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.7619, allocations: 4 kB / 0.9866 GB, free: 244 kB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.0007153/0.7626, allocations: 414.2 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.7627, allocations: 71.33 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.7629, allocations: 175.1 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.763, allocations: 53.69 kB / 0.9873 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.7631, allocations: 140.7 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.7632, allocations: 83.03 kB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.7632, allocations: 12 kB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7633, allocations: 343.2 kB / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.7636, allocations: 145 kB / 0.988 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.764, allocations: 267.2 kB / 0.9882 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.7643, allocations: 241 kB / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7643, allocations: 0 / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008932/0.7652, allocations: 0.5843 MB / 0.989 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.7653, allocations: 97.09 kB / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.7653, allocations: 4.375 kB / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.7654, allocations: 8 kB / 0.9891 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.7655, allocations: 47.84 kB / 0.9892 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.7655, allocations: 8 kB / 0.9892 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.7661, allocations: 127.6 kB / 0.9893 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.7661, allocations: 31.98 kB / 0.9893 GB, free: 13.28 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001956/0.7663, allocations: 190.8 kB / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.7664, allocations: 19.81 kB / 0.9895 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.7664, allocations: 22.66 kB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.7665, allocations: 7.984 kB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.7665, allocations: 0 / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7665, allocations: 0 / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.7674, allocations: 0.7049 MB / 0.9903 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7674, allocations: 96 / 0.9903 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.7675, allocations: 23.86 kB / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7675, allocations: 0 / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.7675, allocations: 11.98 kB / 0.9903 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7675, allocations: 0 / 0.9903 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7675, allocations: 0 / 0.9903 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.768, allocations: 435.5 kB / 0.9907 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.7681, allocations: 100.8 kB / 0.9908 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.7681, allocations: 11.98 kB / 0.9908 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.7682, allocations: 7.984 kB / 0.9908 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.7683, allocations: 23.97 kB / 0.9909 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.7684, allocations: 19.98 kB / 0.9909 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.615e-05/0.7684, allocations: 129.1 kB / 0.991 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7685, allocations: 0 / 0.991 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000396/0.7689, allocations: 91.94 kB / 0.9911 GB, free: 11.4 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0008687/0.7697, allocations: 0.9837 MB / 0.992 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000713/0.7705, allocations: 0.5375 MB / 0.9926 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7705, allocations: 0 / 0.9926 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.7707, allocations: 147.8 kB / 0.9927 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.771, allocations: 28.17 kB / 0.9927 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.7729, allocations: 3.048 MB / 0.9957 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7732, allocations: 0.7526 MB / 0.9964 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.7734, allocations: 30.97 kB / 0.9965 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.7735, allocations: 75.41 kB / 0.9966 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7735, allocations: 0 / 0.9966 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.7911, allocations: 5.426 MB / 1.002 GB, free: 372 kB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.7913, allocations: 204.2 kB / 1.002 GB, free: 124 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.577, allocations: 4 kB / 1.002 GB, free: 120 kB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat