Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: 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_11_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_11_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008014/0.008014, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001783/0.001783, allocations: 202.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 71.89 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002741/0.3825, allocations: 1.476 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.3833, allocations: 442.8 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.3833, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.3834, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.355e-05/0.3835, allocations: 15.88 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.3836, allocations: 23.97 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.3837, allocations: 51.83 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3838, allocations: 12 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.86e-05/0.3839, allocations: 19.92 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.3839, allocations: 15.92 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.384, allocations: 8 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.384, allocations: 7.938 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.384, allocations: 15.98 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.384, allocations: 23.84 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3842, allocations: 47.77 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3842, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3842, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3842, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 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.0006305/0.3848, allocations: 363.3 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3849, allocations: 12.03 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.3849, allocations: 4.938 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3851, allocations: 176.3 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3851, allocations: 4.375 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3851, allocations: 4.375 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3852, allocations: 61.94 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3852, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3853, allocations: 3.984 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3853, allocations: 0 / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.3853, allocations: 27.98 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.386, allocations: 296.8 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3861, allocations: 50.56 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.3861, allocations: 20.94 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3861, allocations: 7.984 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.3863, allocations: 91.23 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3863, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002635/0.3866, allocations: 97.61 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.3867, allocations: 55.41 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3868, allocations: 109.8 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3868, allocations: 25.7 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.3869, allocations: 88.14 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.3869, allocations: 23.84 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.3869, allocations: 29.72 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3871, allocations: 318.8 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.3871, allocations: 20 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.3872, allocations: 39.42 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.3873, allocations: 71.36 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3873, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001523/0.3875, allocations: 101.6 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.3875, allocations: 8 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3875, allocations: 3.938 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3875, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.3876, allocations: 8 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3876, allocations: 4 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.3877, allocations: 11.92 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3877, allocations: 8.031 kB / 1.225 GB, free: 9.348 MB / 0.9825 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 0.0001167/0.3878, allocations: 125.7 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.3878, allocations: 3.953 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.3879, allocations: 11.97 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3879, allocations: 0 / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3879, allocations: 0 / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3879, allocations: 3.984 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3883, allocations: 354.8 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3883, allocations: 11.94 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.3883, allocations: 96 / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3883, allocations: 7.938 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3884, allocations: 288 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3884, allocations: 3.938 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3884, allocations: 0 / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3886, allocations: 183.4 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3886, allocations: 85.09 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3886, allocations: 4 kB / 1.225 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.3887, allocations: 15.92 kB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3888, allocations: 7.984 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3888, allocations: 0 / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.3888, allocations: 83.28 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3888, allocations: 0 / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002397/0.3891, allocations: 19.89 kB / 1.226 GB, free: 8.336 MB / 0.9825 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.0001238/0.3892, allocations: 111.2 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.3893, allocations: 55.92 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3893, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.3894, allocations: 23.98 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3897, allocations: 5.562 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.3901, allocations: 169.2 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3904, allocations: 0.69 MB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.3904, allocations: 8.219 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.3904, allocations: 11.44 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3904, allocations: 0 / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of Templates: time 0.003278/0.3937, allocations: 0.7903 MB / 1.227 GB, free: 6.43 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches