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.001102/0.001102, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 178.6 kB / 16.92 MB, free: 6.648 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.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.594/2.594, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6032, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001094/0.6044, allocations: 0.5829 MB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.6054, allocations: 0.8741 MB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.6055, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.6055, allocations: 7.922 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.951e-05/0.6056, allocations: 7.875 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.6058, allocations: 43.89 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.6059, allocations: 103.7 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.6061, allocations: 41.08 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.6062, allocations: 31.86 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.6063, allocations: 43.77 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.6063, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.6063, allocations: 8 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.6064, allocations: 19.86 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.6064, allocations: 61.44 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.6065, allocations: 97.73 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6065, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6066, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6066, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.7794 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.0008337/0.6074, allocations: 459 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6075, allocations: 12.03 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.6075, allocations: 12.75 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.6076, allocations: 181.8 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.6077, allocations: 4.375 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.6077, allocations: 8.375 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.6079, allocations: 104.3 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6079, allocations: 4.172 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.608, allocations: 3.938 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.608, allocations: 4 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.6082, allocations: 71.97 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.6089, allocations: 420.4 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.6091, allocations: 66.55 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.6092, allocations: 36.97 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.6092, allocations: 7.938 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.6093, allocations: 30.56 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.6093, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003607/0.6096, allocations: 125.5 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.6097, allocations: 59.34 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.6098, allocations: 156.7 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.6099, allocations: 33.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.6099, allocations: 104 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.61, allocations: 11.89 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.61, allocations: 21.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6101, allocations: 326.8 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.061e-05/0.6102, allocations: 31.98 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.6103, allocations: 27.98 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.6104, allocations: 64.75 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6105, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002173/0.6107, allocations: 101.6 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6107, allocations: 4 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6107, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6107, allocations: 8 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.6108, allocations: 11.98 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6109, allocations: 3.938 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.611, allocations: 35.97 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.6111, allocations: 3.984 kB / 1.028 GB, free: 11.2 MB / 0.7794 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.000107/0.6112, allocations: 126.3 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.6112, allocations: 11.81 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.6112, allocations: 12.31 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6113, allocations: 4 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6113, allocations: 3.938 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.6113, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.6115, allocations: 193.6 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6115, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.6116, allocations: 11.98 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.6116, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.6116, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6116, allocations: 256 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.6116, allocations: 7.938 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.6119, allocations: 187.4 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.6119, allocations: 92.95 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.6119, allocations: 3.984 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.6122, allocations: 31.97 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.6122, allocations: 27.8 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.6122, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.6123, allocations: 120.4 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6123, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002282/0.6126, allocations: 12 kB / 1.029 GB, free: 10.27 MB / 0.7794 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.0001226/0.6127, allocations: 103.5 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.6129, allocations: 79.95 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.613, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.6131, allocations: 39.92 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.6134, allocations: 12 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.6139, allocations: 260.7 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.6142, allocations: 0.7005 MB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.6142, allocations: 11.42 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.6142, allocations: 4 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of Templates: time 0.002851/0.6171, allocations: 1.277 MB / 1.031 GB, free: 7.73 MB / 0.7794 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