Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.77/2.77, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.003316/0.003316, allocations: 181 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 105.8 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004963, allocations: 14.17 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001/0.2245, allocations: 398.5 kB / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.2262, allocations: 1.134 MB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.2263, allocations: 0 / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.2263, allocations: 3.938 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.2264, allocations: 15.91 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.227, allocations: 122 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.2272, allocations: 115.7 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.2273, allocations: 15.98 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.2274, allocations: 47.89 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2275, allocations: 39.89 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.2275, allocations: 12 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-05/0.2276, allocations: 15.98 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.2277, allocations: 23.89 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.2277, allocations: 41.7 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2279, allocations: 92.02 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2279, allocations: 0 / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2279, allocations: 4 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2279, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006305/0.2286, allocations: 400.9 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2286, allocations: 12.02 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.2287, allocations: 34.5 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.2288, allocations: 15.89 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.2293, allocations: 212.5 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.2294, allocations: 11.98 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.2294, allocations: 15.94 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.2297, allocations: 89.62 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2297, allocations: 3.938 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2297, allocations: 0 / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2297, allocations: 4 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2299, allocations: 39.91 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.2306, allocations: 368.6 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.2309, allocations: 102.5 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.231, allocations: 40.84 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.231, allocations: 0 / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003225/0.2314, allocations: 124.4 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.2314, allocations: 0 / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000536/0.2319, allocations: 206.8 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.232, allocations: 63.48 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.2321, allocations: 113.8 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.2321, allocations: 33.7 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.2322, allocations: 88.05 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.2322, allocations: 31.7 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.2323, allocations: 4 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.2323, allocations: 322.8 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.2325, allocations: 39.98 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2327, allocations: 90.48 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.2329, allocations: 73.7 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2329, allocations: 0 / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000478/0.2334, allocations: 211.9 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.2334, allocations: 33.7 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2335, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2335, allocations: 7.953 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2336, allocations: 11.94 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.2336, allocations: 3.984 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.234, allocations: 55.94 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.234, allocations: 8 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001339/0.2342, allocations: 133.7 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.2342, allocations: 11.91 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.2343, allocations: 12.44 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2343, allocations: 4 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2343, allocations: 11.89 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2343, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.2349, allocations: 427.4 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2349, allocations: 3.984 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.235, allocations: 4 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.235, allocations: 7.938 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.235, allocations: 11.95 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.235, allocations: 0 / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.235, allocations: 0 / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2354, allocations: 262 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.2355, allocations: 84.95 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.2355, allocations: 8 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.2357, allocations: 15.94 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.2357, allocations: 15.97 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2358, allocations: 8 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.2358, allocations: 87.27 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2358, allocations: 0 / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003757/0.2362, allocations: 28 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007162/0.2369, allocations: 0.8061 MB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.2374, allocations: 187.3 kB / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2374, allocations: 0 / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.2376, allocations: 79.89 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.238, allocations: 15.94 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.2395, allocations: 0.6756 MB / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.2396, allocations: 0.6923 MB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.158e-05/0.2397, allocations: 8.562 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.2398, allocations: 23.48 kB / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/0.2398, allocations: 0 / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.2662, allocations: 2.428 MB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/0.2666, allocations: 213.8 kB / 0.9893 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/2.711, allocations: 0 / 0.9893 GB, free: 16.78 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)