Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001846/0.001846, allocations: 106 kB / 16.27 MB, free: 6.414 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.00207/0.00207, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.22 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.533/2.533, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.86 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00252/0.3158, allocations: 0.8593 MB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3171, allocations: 0.8794 MB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.3172, allocations: 0 / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.3173, allocations: 7.875 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3174, allocations: 23.8 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.3176, allocations: 35.95 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3178, allocations: 119.6 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.318, allocations: 44.98 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3181, allocations: 43.84 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3182, allocations: 51.77 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.3183, allocations: 12 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.3183, allocations: 8 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.3183, allocations: 27.91 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.3184, allocations: 51.73 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.3186, allocations: 123.7 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.3186, allocations: 8 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3186, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3186, allocations: 0 / 1.02 GB, free: 8.301 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009848/0.3196, allocations: 459 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3197, allocations: 12.92 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.3197, allocations: 12.75 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.3199, allocations: 182.1 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3199, allocations: 4.375 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.32, allocations: 8.375 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3202, allocations: 90.16 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3202, allocations: 8.109 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3202, allocations: 11.94 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3203, allocations: 0 / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.3205, allocations: 63.97 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.3213, allocations: 412.5 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3215, allocations: 66.55 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.3216, allocations: 36.97 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3216, allocations: 0 / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3216, allocations: 30.56 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3216, allocations: 0 / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0003695/0.322, allocations: 113.5 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.322, allocations: 51.41 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3222, allocations: 162.3 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3222, allocations: 33.64 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.3223, allocations: 100 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3223, allocations: 15.81 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.3224, allocations: 21.7 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3226, allocations: 322.8 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.3227, allocations: 27.98 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.3227, allocations: 31.97 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3229, allocations: 56.81 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3229, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002194/0.3231, allocations: 101.5 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3231, allocations: 4 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3232, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3232, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.3233, allocations: 8 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3233, allocations: 7.938 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.3235, allocations: 27.89 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3235, allocations: 4 kB / 1.023 GB, free: 5.637 MB / 0.795 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 (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 prepare postOptimizeDAE: time 0.0001032/0.3236, allocations: 117.8 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.3237, allocations: 15.75 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3237, allocations: 16.31 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3237, allocations: 0 / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3237, allocations: 7.875 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3237, allocations: 3.984 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3239, allocations: 197.6 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.324, allocations: 3.984 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.324, allocations: 4 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.324, allocations: 4 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3241, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3241, allocations: 3.984 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3241, allocations: 7.938 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3243, allocations: 183.7 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.3244, allocations: 85 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3244, allocations: 0 / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3247, allocations: 31.97 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3247, allocations: 11.92 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3247, allocations: 8 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.242e-05/0.3248, allocations: 121.6 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3248, allocations: 0 / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002355/0.3251, allocations: 16 kB / 1.023 GB, free: 4.727 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: 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 (5): * Single equations (assignments): 5 * 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.0001346/0.3252, allocations: 103.2 kB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3255, allocations: 63.95 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3255, allocations: 0 / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3256, allocations: 39.92 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3259, allocations: 4 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.3264, allocations: 241.4 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3268, allocations: 0.7002 MB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.3268, allocations: 15.44 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3268, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of Templates: time 0.003267/0.3301, allocations: 1.304 MB / 1.026 GB, free: 2.203 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches