Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9094/0.9094, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.706/1.706, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.945e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002283/0.002303, allocations: 1.485 MB / 0.9824 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006037/0.002906, allocations: 454.8 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.002945, allocations: 4 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.002976, allocations: 7.922 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.003054, allocations: 7.938 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.0032, allocations: 19.86 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.00328, allocations: 55.83 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.003381, allocations: 11.98 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.428e-05/0.003446, allocations: 23.98 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.003519, allocations: 27.89 kB / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.003546, allocations: 4 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.003555, allocations: 4 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.003577, allocations: 8 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.003616, allocations: 19.91 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.003723, allocations: 39.94 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003725, allocations: 3.938 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003726, allocations: 0 / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003731, allocations: 7.938 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000441/0.004172, allocations: 286.2 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.004207, allocations: 16.03 kB / 0.9833 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.004236, allocations: 34.75 kB / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.004261, allocations: 8.938 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.004363, allocations: 109.8 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.004375, allocations: 4.359 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.004386, allocations: 8.375 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.004488, allocations: 66.12 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004495, allocations: 192 / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004505, allocations: 4.125 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004511, allocations: 0 / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.00456, allocations: 23.98 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.004924, allocations: 271.8 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.005006, allocations: 50.56 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.005037, allocations: 20.94 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.005047, allocations: 4 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.005167, allocations: 79.36 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.005168, allocations: 0 / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0001877/0.005356, allocations: 101.6 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.005393, allocations: 55.41 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.005449, allocations: 113.8 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005461, allocations: 29.7 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.005498, allocations: 80.14 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.005517, allocations: 27.83 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.005556, allocations: 29.72 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.005634, allocations: 322.8 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.005661, allocations: 12 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.005741, allocations: 51.36 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.38e-05/0.005805, allocations: 67.36 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005807, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.527e-05/0.005902, allocations: 93.56 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005915, allocations: 8 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.00592, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.005932, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.005992, allocations: 12.31 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.005998, allocations: 4 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.006038, allocations: 11.98 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.006045, allocations: 8.062 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/0.006109, allocations: 125.7 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.006118, allocations: 11.95 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.006137, allocations: 8.125 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006139, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.006145, allocations: 7.922 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.00615, allocations: 4 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.006427, allocations: 317.5 kB / 0.9854 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006429, allocations: 0 / 0.9854 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.006442, allocations: 4 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006443, allocations: 0 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.006449, allocations: 0 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.006451, allocations: 8 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.006452, allocations: 0 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.00657, allocations: 187.6 kB / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.00658, allocations: 4 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.006591, allocations: 7.984 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.006633, allocations: 7.984 kB / 0.9856 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.006669, allocations: 7.984 kB / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.006674, allocations: 3.938 kB / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.006699, allocations: 83.28 kB / 0.9857 GB, free: 13.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006699, allocations: 0 / 0.9857 GB, free: 13.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001587/0.006858, allocations: 23.95 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.007108, allocations: 0.7165 MB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.007204, allocations: 47.86 kB / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.007206, allocations: 7.938 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.00724, allocations: 20 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.007427, allocations: 15.92 kB / 0.9865 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.008295, allocations: 1.382 MB / 0.9879 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.008336, allocations: 71.34 kB / 0.9879 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.008358, allocations: 11.92 kB / 0.988 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.008401, allocations: 20.5 kB / 0.988 GB, free: 10.93 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.008401, allocations: 0 / 0.988 GB, free: 10.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.02549, allocations: 2.48 MB / 0.9904 GB, free: 8.613 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.441/6.466, allocations: 2.625 kB / 0.9904 GB, free: 8.613 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.497412736527622]