Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 178.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.44 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 10.5 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.421, allocations: 132.4 MB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.4213, allocations: 75.89 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003392/0.4248, allocations: 1.107 MB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4248, allocations: 4 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4248, allocations: 0 / 1.031 GB, free: 10.69 MB / 0.6823 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.0004722/0.4253, allocations: 355.2 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4253, allocations: 8.031 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.4254, allocations: 7.906 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4255, allocations: 174.9 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4256, allocations: 8 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4256, allocations: 11.97 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.4257, allocations: 49.69 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.4257, allocations: 0 / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4257, allocations: 4 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4258, allocations: 4 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.689e-05/0.4258, allocations: 23.92 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.4264, allocations: 312.7 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4266, allocations: 50.59 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.4266, allocations: 192 / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.4268, allocations: 71.41 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.4268, allocations: 8 kB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0002574/0.4271, allocations: 101.5 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4271, allocations: 59.36 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.4272, allocations: 100.9 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4272, allocations: 29.7 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.4273, allocations: 88.08 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4273, allocations: 23.7 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.4273, allocations: 0 / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4275, allocations: 322.8 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.4275, allocations: 15.98 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.4276, allocations: 47.36 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.581e-05/0.4276, allocations: 20.83 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4276, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001373/0.4278, allocations: 89.61 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4278, allocations: 8.031 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.4278, allocations: 4 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4278, allocations: 3.938 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.4279, allocations: 12 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4279, allocations: 0 / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.428, allocations: 23.78 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.428, allocations: 4 kB / 1.032 GB, free: 8.465 MB / 0.6823 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.79e-05/0.4281, allocations: 113.8 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.4282, allocations: 11.94 kB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.4282, allocations: 7.969 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4282, allocations: 4.266 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4282, allocations: 0 / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4282, allocations: 4.047 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.4286, allocations: 374.4 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4287, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.4287, allocations: 4 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4287, allocations: 4 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4287, allocations: 0 / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4287, allocations: 0 / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4287, allocations: 4.422 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.4289, allocations: 183.4 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.429, allocations: 85.02 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.429, allocations: 3.984 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.4291, allocations: 8 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.4291, allocations: 15.94 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4291, allocations: 4 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.4292, allocations: 83.27 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.874e-06/0.4292, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002172/0.4294, allocations: 15.94 kB / 1.033 GB, free: 7.457 MB / 0.6823 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 (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.0001028/0.4295, allocations: 101 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.4297, allocations: 55.92 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4297, allocations: 4 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.4297, allocations: 23.98 kB / 1.034 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.4299, allocations: 8 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.4304, allocations: 180.5 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.4307, allocations: 0.6887 MB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.4307, allocations: 7.984 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.4307, allocations: 11.44 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.4307, allocations: 0 / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of Templates: time 0.002671/0.4334, allocations: 0.6628 MB / 1.035 GB, free: 5.664 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Examples_OffTimer.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches