Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 166.9 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.875/2.875, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.77e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002136/0.002163, allocations: 0.8832 MB / 0.9823 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003498, allocations: 0.9249 MB / 0.9832 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.00356, allocations: 0 / 0.9832 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.003598, allocations: 15.81 kB / 0.9832 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.003701, allocations: 15.81 kB / 0.9832 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.003958, allocations: 47.88 kB / 0.9833 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.004141, allocations: 135.6 kB / 0.9834 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004281, allocations: 29.72 kB / 0.9834 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.004492, allocations: 91.67 kB / 0.9835 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.004592, allocations: 43.88 kB / 0.9836 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.004623, allocations: 12 kB / 0.9836 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.004678, allocations: 16 kB / 0.9836 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.004712, allocations: 31.91 kB / 0.9836 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.004772, allocations: 39.84 kB / 0.9836 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.005025, allocations: 163.5 kB / 0.9838 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005027, allocations: 0 / 0.9838 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.41e-07/0.005028, allocations: 0 / 0.9838 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.005033, allocations: 0 / 0.9838 GB, free: 8.48 MB / 0.8887 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.0006977/0.00573, allocations: 361.7 kB / 0.9841 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.005775, allocations: 8.031 kB / 0.9842 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.006039, allocations: 36.81 kB / 0.9842 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.006358, allocations: 160.3 kB / 0.9843 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.006376, allocations: 12.33 kB / 0.9844 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.006397, allocations: 8.375 kB / 0.9844 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.006657, allocations: 102.2 kB / 0.9845 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.006669, allocations: 3.938 kB / 0.9845 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.006686, allocations: 7.938 kB / 0.9845 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.006702, allocations: 4 kB / 0.9845 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.006916, allocations: 71.95 kB / 0.9845 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.007536, allocations: 312.2 kB / 0.9848 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.007837, allocations: 82.59 kB / 0.9849 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.007945, allocations: 40.84 kB / 0.985 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.007965, allocations: 0 / 0.985 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.007996, allocations: 38.56 kB / 0.985 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.007998, allocations: 0 / 0.985 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0004157/0.008413, allocations: 125.8 kB / 0.9851 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.00846, allocations: 55.34 kB / 0.9852 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.008611, allocations: 149.8 kB / 0.9853 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.008678, allocations: 29.7 kB / 0.9853 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.00876, allocations: 104.1 kB / 0.9854 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.008791, allocations: 23.8 kB / 0.9855 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.008848, allocations: 25.7 kB / 0.9855 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.009015, allocations: 326.8 kB / 0.9858 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.993e-05/0.009115, allocations: 31.98 kB / 0.9858 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.009264, allocations: 105.9 kB / 0.9859 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.009441, allocations: 60.77 kB / 0.986 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009443, allocations: 0 / 0.986 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002518/0.009695, allocations: 109.6 kB / 0.9861 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.00971, allocations: 4.031 kB / 0.9861 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.009715, allocations: 4 kB / 0.9861 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.009733, allocations: 3.938 kB / 0.9861 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.009818, allocations: 11.98 kB / 0.9861 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.009824, allocations: 0 / 0.9861 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.61e-05/0.00992, allocations: 15.94 kB / 0.9861 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.009929, allocations: 0 / 0.9861 GB, free: 5.902 MB / 0.8887 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.000125/0.01005, allocations: 121.8 kB / 0.9862 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.01009, allocations: 7.953 kB / 0.9863 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.01013, allocations: 24.77 kB / 0.9863 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01014, allocations: 3.938 kB / 0.9863 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01014, allocations: 0 / 0.9863 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01015, allocations: 0 / 0.9863 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.01036, allocations: 153.1 kB / 0.9864 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01036, allocations: 0 / 0.9864 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.01044, allocations: 11.94 kB / 0.9864 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01044, allocations: 4 kB / 0.9864 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.01046, allocations: 3.984 kB / 0.9864 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01046, allocations: 0 / 0.9864 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.01046, allocations: 3.938 kB / 0.9865 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.01075, allocations: 191.5 kB / 0.9866 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.01077, allocations: 11.91 kB / 0.9866 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.01079, allocations: 288 / 0.9866 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01091, allocations: 7.984 kB / 0.9867 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.01097, allocations: 23.91 kB / 0.9867 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.01098, allocations: 7.938 kB / 0.9867 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.446e-05/0.01107, allocations: 117.5 kB / 0.9868 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.01107, allocations: 0 / 0.9868 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002395/0.01131, allocations: 19.94 kB / 0.9868 GB, free: 5.148 MB / 0.8887 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.0001325/0.01144, allocations: 103.2 kB / 0.9869 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.01169, allocations: 68.34 kB / 0.987 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01169, allocations: 0 / 0.987 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.01179, allocations: 31.92 kB / 0.987 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.01211, allocations: 12.14 kB / 0.987 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.0126, allocations: 229.2 kB / 0.9872 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.546e-05/0.01269, allocations: 85.31 kB / 0.9873 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 5.388e-05/0.01275, allocations: 11.97 kB / 0.9873 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.0128, allocations: 24.5 kB / 0.9874 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.0128, allocations: 0 / 0.9874 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of Templates: time 0.004117/0.01692, allocations: 1.101 MB / 0.9884 GB, free: 3.461 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.801381811499596]