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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 192.6 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.107/3.107, allocations: 495.8 MB / 0.783 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002072/0.002072, allocations: 65.19 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3303, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002147/0.3324, allocations: 0.9341 MB / 1.308 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3336, allocations: 0.8974 MB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.3336, allocations: 0 / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.3337, allocations: 11.81 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.676e-05/0.3337, allocations: 23.78 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.3339, allocations: 35.97 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3341, allocations: 131.6 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3343, allocations: 41.69 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3344, allocations: 47.86 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3345, allocations: 63.69 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.3345, allocations: 15.94 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.3346, allocations: 12 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.3346, allocations: 23.92 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.3347, allocations: 63.67 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3349, allocations: 155.3 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3349, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3349, allocations: 4 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.3349, allocations: 0 / 1.309 GB, free: 15.36 MB / 1.014 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.0006523/0.3355, allocations: 365.7 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3356, allocations: 8.031 kB / 1.309 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3356, allocations: 16.84 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3359, allocations: 161.6 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3359, allocations: 12.38 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.336, allocations: 16.12 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3362, allocations: 93.64 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3362, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3362, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3362, allocations: 0 / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.3364, allocations: 71.95 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.3371, allocations: 371.7 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.3374, allocations: 78.61 kB / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3375, allocations: 40.83 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3375, allocations: 4 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3375, allocations: 38.5 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3375, allocations: 0 / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004062/0.3379, allocations: 117.6 kB / 1.31 GB, free: 13.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.338, allocations: 59.34 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3381, allocations: 150.9 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.3382, allocations: 33.7 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.3382, allocations: 112.3 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3383, allocations: 23.98 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.3383, allocations: 29.7 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3385, allocations: 318.8 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3386, allocations: 31.98 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3387, allocations: 58.55 kB / 1.311 GB, free: 13.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3389, allocations: 60.89 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3389, allocations: 0 / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002525/0.3391, allocations: 105.6 kB / 1.311 GB, free: 12.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3391, allocations: 15.92 kB / 1.311 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3392, allocations: 0 / 1.311 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3392, allocations: 3.938 kB / 1.311 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.3393, allocations: 11.97 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3393, allocations: 7.984 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.3394, allocations: 11.94 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3394, allocations: 0 / 1.311 GB, free: 12.79 MB / 1.014 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.000109/0.3395, allocations: 129.8 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3395, allocations: 15.84 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.3396, allocations: 20.7 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3396, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3396, allocations: 4 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3396, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3398, allocations: 180.7 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3398, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.3399, allocations: 8 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3399, allocations: 3.938 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3399, allocations: 15.98 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3399, allocations: 3.938 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3399, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3402, allocations: 191.5 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.3402, allocations: 15.84 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3402, allocations: 0 / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3404, allocations: 11.98 kB / 1.312 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.3404, allocations: 15.97 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3405, allocations: 0 / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.57e-05/0.3405, allocations: 117.1 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3405, allocations: 7.938 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002487/0.3408, allocations: 20 kB / 1.312 GB, free: 11.97 MB / 1.014 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.000115/0.3409, allocations: 100.4 kB / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.3412, allocations: 71.89 kB / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3412, allocations: 4 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3413, allocations: 43.89 kB / 1.312 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3416, allocations: 9.094 kB / 1.312 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.3421, allocations: 231.8 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3424, allocations: 0.7002 MB / 1.313 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.65e-05/0.3425, allocations: 8.672 kB / 1.313 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.3425, allocations: 19.42 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/0.3425, allocations: 3.938 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of Templates: time 0.004091/0.3466, allocations: 1.186 MB / 1.315 GB, free: 9.555 MB / 1.014 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: 8.721179702319205]