Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00152/0.00152, allocations: 109.6 kB / 15.99 MB, free: 5.914 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.001508/0.001508, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 76.78 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002869/0.2999, allocations: 1.516 MB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007683/0.3007, allocations: 450.9 kB / 1.019 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.3007, allocations: 0 / 1.019 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.3008, allocations: 7.875 kB / 1.019 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.3009, allocations: 3.984 kB / 1.019 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.301, allocations: 19.92 kB / 1.019 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.446e-05/0.3011, allocations: 47.91 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3013, allocations: 12 kB / 1.019 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.3013, allocations: 27.84 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.3014, allocations: 27.86 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3014, allocations: 4 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.3014, allocations: 4 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.3015, allocations: 11.98 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.3015, allocations: 27.86 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.974e-05/0.3016, allocations: 23.97 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3016, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3016, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3016, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 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.0005686/0.3022, allocations: 359.7 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3023, allocations: 12.92 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3023, allocations: 4.922 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.3025, allocations: 176.2 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3025, allocations: 4.375 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3025, allocations: 8.359 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3027, allocations: 61.92 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3027, allocations: 0 / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3027, allocations: 4 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3027, allocations: 4 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.3028, allocations: 23.98 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.3033, allocations: 304.7 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3034, allocations: 54.58 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.3035, allocations: 28.94 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.3035, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.3037, allocations: 79.31 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.3037, allocations: 3.938 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.000227/0.304, allocations: 93.62 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.304, allocations: 63.39 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.3041, allocations: 101.9 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3042, allocations: 29.7 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.3042, allocations: 92.03 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3043, allocations: 27.64 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.3043, allocations: 29.7 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3045, allocations: 318.8 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.3045, allocations: 23.92 kB / 1.021 GB, free: 6.703 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.3046, allocations: 43.42 kB / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.891e-05/0.3047, allocations: 63.38 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3047, allocations: 4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001481/0.3049, allocations: 97.55 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3049, allocations: 4 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3049, allocations: 0 / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3049, allocations: 4 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.305, allocations: 11.98 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.305, allocations: 4.031 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.3051, allocations: 7.906 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3051, allocations: 4.281 kB / 1.022 GB, free: 6.434 MB / 0.795 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.0001197/0.3052, allocations: 135.5 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.3053, allocations: 7.984 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.3053, allocations: 7.969 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3053, allocations: 4 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3053, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3053, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.3058, allocations: 358.7 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3058, allocations: 0 / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.3058, allocations: 4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3058, allocations: 0 / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3058, allocations: 4.141 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.3059, allocations: 15.88 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3059, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.306, allocations: 179.5 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.3061, allocations: 88.94 kB / 1.022 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3061, allocations: 4 kB / 1.022 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.3062, allocations: 7.938 kB / 1.022 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.3063, allocations: 7.984 kB / 1.022 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3063, allocations: 7.938 kB / 1.022 GB, free: 5.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.3063, allocations: 87.27 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3063, allocations: 3.938 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000234/0.3066, allocations: 16 kB / 1.023 GB, free: 5.414 MB / 0.795 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 9.828e-05/0.3067, allocations: 99.25 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3068, allocations: 51.92 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3068, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.3069, allocations: 31.92 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3072, allocations: 14.59 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.3076, allocations: 199.4 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3079, allocations: 0.6846 MB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.308, allocations: 11.44 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.308, allocations: 0 / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of Templates: time 0.002333/0.3103, allocations: 0.8687 MB / 1.024 GB, free: 3.402 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches