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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007892/0.007892, allocations: 101.5 kB / 15.88 MB, free: 6.328 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.001622/0.001622, allocations: 194 kB / 16.79 MB, free: 6.254 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.86/2.86, allocations: 437 MB / 0.7106 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.00159, allocations: 63.89 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6374, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00319/0.6406, allocations: 1.535 MB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.6414, allocations: 451 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.6415, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.6416, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.054e-05/0.6417, allocations: 7.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.6418, allocations: 15.98 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.6419, allocations: 51.78 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.6421, allocations: 11.98 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.6421, allocations: 15.98 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.6422, allocations: 23.86 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.6422, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.6422, allocations: 4 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.6423, allocations: 15.98 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.6423, allocations: 27.84 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.6424, allocations: 27.95 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6424, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6425, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6425, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 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.0005663/0.643, allocations: 365.3 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6431, allocations: 8.031 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.6431, allocations: 4.938 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.6433, allocations: 184.2 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.6433, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.6434, allocations: 4.375 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.6435, allocations: 61.98 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.6435, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.6435, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.6436, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.6436, allocations: 27.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.6442, allocations: 300.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.6443, allocations: 62.59 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.6444, allocations: 24.88 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.6444, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.6446, allocations: 75.38 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.6446, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002415/0.6449, allocations: 97.53 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.6449, allocations: 59.39 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.645, allocations: 101.9 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.645, allocations: 29.7 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.6451, allocations: 99.95 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.6451, allocations: 15.81 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.6452, allocations: 33.7 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6453, allocations: 318.7 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.6454, allocations: 19.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.6454, allocations: 43.42 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.6455, allocations: 67.38 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6455, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001464/0.6457, allocations: 101.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.6457, allocations: 8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6457, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6457, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.6458, allocations: 11.94 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.6458, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.6459, allocations: 7.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.6459, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 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 9.316e-05/0.646, allocations: 128 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.646, allocations: 7.906 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.6461, allocations: 11.95 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6461, allocations: 384 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6461, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6461, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.6465, allocations: 358.4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6465, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.6466, allocations: 7.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.6466, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.6466, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.6466, allocations: 7.922 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6466, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.6468, allocations: 179.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.6469, allocations: 85.09 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.6469, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.647, allocations: 7.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.647, allocations: 15.92 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.6471, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.6471, allocations: 83.27 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6471, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002378/0.6474, allocations: 15.91 kB / 1.022 GB, free: 13.23 MB / 0.7794 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.0001105/0.6475, allocations: 105.3 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.6476, allocations: 55.92 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6476, allocations: 3.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.6477, allocations: 31.97 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.648, allocations: 12.14 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.6485, allocations: 197.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.6488, allocations: 0.6863 MB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.6488, allocations: 15.38 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.6488, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.002399/0.6512, allocations: 0.8498 MB / 1.024 GB, free: 11.21 MB / 0.7794 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=480 -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