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.001977/0.001977, allocations: 106.7 kB / 15.99 MB, free: 5.895 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.002183/0.002183, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.494/1.494, allocations: 222.9 MB / 240.6 MB, free: 4.516 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.838/2.838, allocations: 469.8 MB / 0.7427 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 68.78 kB / 0.9087 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003107/0.3285, allocations: 1.528 MB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.3293, allocations: 439 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.3293, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.3294, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.643e-05/0.3295, allocations: 7.969 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.3297, allocations: 19.92 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.3298, allocations: 43.92 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3299, allocations: 19.98 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.33, allocations: 19.92 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.33, allocations: 23.91 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.33, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.3301, allocations: 7.938 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.3301, allocations: 11.98 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.3302, allocations: 27.81 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.42e-05/0.3302, allocations: 27.95 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3302, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3303, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3303, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 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.0005822/0.3309, allocations: 355.7 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3309, allocations: 12.03 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3309, allocations: 12.83 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3311, allocations: 176.3 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3312, allocations: 4.375 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3312, allocations: 8.312 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3313, allocations: 61.94 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3313, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3314, allocations: 7.984 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3314, allocations: 4 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.3314, allocations: 23.98 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.332, allocations: 304.7 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3321, allocations: 54.56 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.3321, allocations: 24.94 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3322, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.3323, allocations: 71.42 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3324, allocations: 4 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002295/0.3326, allocations: 101.6 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3327, allocations: 51.41 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.3328, allocations: 113.8 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3328, allocations: 25.7 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.3328, allocations: 88.14 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3329, allocations: 27.62 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.3329, allocations: 29.72 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3331, allocations: 318.8 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.3331, allocations: 19.94 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.3332, allocations: 47.42 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.3333, allocations: 67.73 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3333, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001561/0.3335, allocations: 93.89 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3335, allocations: 9.594 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3335, allocations: 11.92 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3335, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.3336, allocations: 11.94 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3336, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.3337, allocations: 11.89 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3337, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 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.0001105/0.3338, allocations: 125.8 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.3338, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.3339, allocations: 15.91 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3339, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3339, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3339, allocations: 3.984 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.3343, allocations: 354.4 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3344, allocations: 4.062 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.3344, allocations: 4 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3344, allocations: 0 / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3344, allocations: 8 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3344, allocations: 3.938 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3344, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.3346, allocations: 179.5 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.3347, allocations: 84.95 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3347, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.3348, allocations: 11.92 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3348, allocations: 11.98 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3349, allocations: 4 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.3349, allocations: 83.28 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3349, allocations: 3.938 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002233/0.3351, allocations: 12 kB / 1.069 GB, free: 9.051 MB / 0.8262 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.0001343/0.3353, allocations: 107.4 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.3354, allocations: 55.86 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3354, allocations: 4 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.719e-05/0.3355, allocations: 35.98 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3358, allocations: 8.844 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.3362, allocations: 195.3 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3366, allocations: 0.6885 MB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.3367, allocations: 11.44 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3367, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.002607/0.3393, allocations: 0.8613 MB / 1.071 GB, free: 7.027 MB / 0.8262 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches