Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001272/0.001272, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.424/2.424, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.33 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2756, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0022/0.2778, allocations: 0.915 MB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.2788, allocations: 0.9013 MB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.2789, allocations: 4 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.2789, allocations: 15.75 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.897e-05/0.279, allocations: 11.81 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.2792, allocations: 43.94 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.2794, allocations: 123.7 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.2796, allocations: 57.5 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2797, allocations: 51.78 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.2798, allocations: 55.69 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.2798, allocations: 12 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.2798, allocations: 16 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.2799, allocations: 27.92 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.2799, allocations: 55.72 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2801, allocations: 159.4 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2801, allocations: 4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2801, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2802, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006202/0.2808, allocations: 430.9 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2808, allocations: 12.03 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.2809, allocations: 12.78 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.2812, allocations: 220.8 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2812, allocations: 4.375 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.2812, allocations: 20.06 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.2814, allocations: 101.6 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2815, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2815, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2815, allocations: 7.984 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2817, allocations: 69.67 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.2823, allocations: 408.3 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.2825, allocations: 78.55 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.2826, allocations: 52.89 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2827, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2827, allocations: 34.5 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2827, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003748/0.2831, allocations: 125.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.2831, allocations: 55.41 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2833, allocations: 172 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2833, allocations: 33.7 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.2834, allocations: 104.3 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.2834, allocations: 19.75 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.2835, allocations: 25.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2836, allocations: 318.8 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.2837, allocations: 31.98 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2838, allocations: 58.55 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.284, allocations: 56.83 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.284, allocations: 192 / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002123/0.2842, allocations: 109.4 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2843, allocations: 11.94 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2843, allocations: 0 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2843, allocations: 32 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2844, allocations: 23.92 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2844, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.2845, allocations: 11.98 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2845, allocations: 3.938 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001031/0.2846, allocations: 125.8 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.2847, allocations: 11.84 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.2847, allocations: 20.7 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2847, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2847, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2847, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.285, allocations: 213.5 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.285, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.2851, allocations: 11.98 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2851, allocations: 3.938 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2851, allocations: 3.984 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2851, allocations: 8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2851, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.2853, allocations: 199.3 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.2854, allocations: 84.95 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2854, allocations: 8 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2856, allocations: 7.984 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.2856, allocations: 19.97 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.2856, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.075e-05/0.2857, allocations: 122.3 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2857, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002352/0.286, allocations: 23.91 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001191/0.2861, allocations: 103.2 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.2863, allocations: 71.89 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2864, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2865, allocations: 39.98 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2868, allocations: 9.531 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.2872, allocations: 223.8 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.2875, allocations: 0.7002 MB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.22e-05/0.2876, allocations: 12.66 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.2876, allocations: 19.44 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2876, allocations: 0 / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of Templates: time 0.003588/0.2912, allocations: 1.14 MB / 1.035 GB, free: 9.496 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches