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.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.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.001036/0.001036, allocations: 119.2 kB / 16.37 MB, free: 6.016 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.001069/0.001069, allocations: 193 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.292/1.292, 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 10.1.0-maint.10.0.x/package.mo): time 2.381/2.381, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.44 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2696, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002092/0.2718, allocations: 0.875 MB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.2727, allocations: 0.8755 MB / 1.021 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.2728, allocations: 0 / 1.021 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.2728, allocations: 11.88 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.2729, allocations: 19.8 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2731, allocations: 35.95 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2732, allocations: 111.6 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2734, allocations: 52.97 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.2735, allocations: 43.86 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.2736, allocations: 47.77 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.2736, allocations: 15.98 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.2736, allocations: 8 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.2737, allocations: 23.92 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.2737, allocations: 47.73 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2739, allocations: 135.4 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2739, allocations: 0 / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2739, allocations: 0 / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2739, allocations: 0 / 1.021 GB, free: 7.531 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.0008958/0.2748, allocations: 463.1 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2748, allocations: 12.91 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.2749, allocations: 12.75 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.275, allocations: 180.2 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2751, allocations: 12.3 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2751, allocations: 8.375 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.2753, allocations: 100.1 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2753, allocations: 4.188 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2754, allocations: 3.938 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2754, allocations: 0 / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.2756, allocations: 67.95 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.2764, allocations: 404.5 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.2765, allocations: 58.55 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.2766, allocations: 32.97 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2767, allocations: 4 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.2767, allocations: 38.5 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2767, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0003628/0.2771, allocations: 109.5 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.2771, allocations: 55.34 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2773, allocations: 164.3 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2773, allocations: 25.7 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2774, allocations: 108 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2775, allocations: 15.81 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.2775, allocations: 17.72 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2777, allocations: 322.8 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.2778, allocations: 27.98 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.2779, allocations: 35.91 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.278, allocations: 48.84 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.278, allocations: 3.938 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002095/0.2782, allocations: 97.69 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2783, allocations: 8 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2783, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2783, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2784, allocations: 15.98 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2784, allocations: 3.938 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.2786, allocations: 27.91 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.2786, allocations: 7.938 kB / 1.023 GB, free: 4.863 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.0001034/0.2787, allocations: 115 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2788, allocations: 11.81 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.2788, allocations: 20.3 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2788, allocations: 4 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.2788, allocations: 4.188 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2789, allocations: 0 / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.2791, allocations: 205.6 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2791, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.2792, allocations: 7.984 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2792, allocations: 4 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2792, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2792, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2792, allocations: 3.938 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.2795, allocations: 191.4 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.2795, allocations: 81.02 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.2796, allocations: 0 / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.2798, allocations: 27.97 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.2798, allocations: 23.89 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.2799, allocations: 4 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.548e-05/0.2799, allocations: 113.9 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.28, allocations: 0 / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002322/0.2802, allocations: 15.98 kB / 1.024 GB, free: 3.961 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.0001332/0.2803, allocations: 103.2 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.2806, allocations: 71.84 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2806, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.2807, allocations: 31.98 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.281, allocations: 13.7 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.2815, allocations: 203.6 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2818, allocations: 0.7041 MB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.2819, allocations: 3.984 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.2819, allocations: 11.44 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2819, allocations: 4 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of Templates: time 0.004036/0.286, allocations: 1.36 MB / 1.027 GB, free: 1.41 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 -s gbode -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