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.001916/0.001916, allocations: 108 kB / 15.6 MB, free: 132 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.001793/0.001793, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.689/2.689, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6018, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002464/0.6043, allocations: 0.8817 MB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.6055, allocations: 0.8701 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.6056, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.6056, allocations: 11.86 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.6058, allocations: 23.73 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.6059, allocations: 39.95 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.6061, allocations: 107.7 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.6063, allocations: 45.08 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.6064, allocations: 43.8 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.6065, allocations: 51.77 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.6065, allocations: 12 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.321e-05/0.6066, allocations: 12 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.6066, allocations: 23.91 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.6067, allocations: 51.72 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.6069, allocations: 121.6 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.6069, allocations: 0 / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6069, allocations: 0 / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6069, allocations: 4 kB / 1.02 GB, free: 184 kB / 0.7637 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.0009949/0.6079, allocations: 462.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6079, allocations: 8.031 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.608, allocations: 12.84 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.6082, allocations: 180.1 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.6082, allocations: 8.375 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.6082, allocations: 12.36 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.6085, allocations: 94.22 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.6085, allocations: 192 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.6085, allocations: 7.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6085, allocations: 3.984 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.6087, allocations: 67.89 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.6096, allocations: 404.4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.6098, allocations: 66.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.6099, allocations: 32.97 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.6099, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.6099, allocations: 34.55 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.6099, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003885/0.6103, allocations: 109.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.6104, allocations: 59.34 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.6106, allocations: 160.1 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.6106, allocations: 29.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.6107, allocations: 112 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.6107, allocations: 11.89 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.6108, allocations: 25.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6109, allocations: 322.8 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.6111, allocations: 31.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.6112, allocations: 27.98 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.6113, allocations: 48.77 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6113, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002212/0.6115, allocations: 101.5 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6116, allocations: 5.875 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6116, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.6116, allocations: 7.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.6117, allocations: 8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6117, allocations: 3.938 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.6119, allocations: 23.97 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.6119, allocations: 3.984 kB / 1.022 GB, free: 13.52 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.0001169/0.6121, allocations: 125.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.6121, allocations: 7.906 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.6122, allocations: 12.31 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6122, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6122, allocations: 7.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6122, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.6124, allocations: 197.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6124, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.6125, allocations: 11.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6125, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6125, allocations: 4.188 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6125, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6126, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.6128, allocations: 183.4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.6129, allocations: 84.95 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.6129, allocations: 7.984 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.6132, allocations: 27.97 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.6132, allocations: 19.92 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.6133, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.6134, allocations: 117.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6134, allocations: 3.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002372/0.6136, allocations: 12 kB / 1.023 GB, free: 12.61 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.0001378/0.6137, allocations: 107.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.614, allocations: 71.89 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.614, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.6141, allocations: 31.98 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.6145, allocations: 8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.6149, allocations: 207.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6153, allocations: 0.7001 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.652e-05/0.6153, allocations: 7.984 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.6154, allocations: 15.44 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.6154, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.004319/0.6197, allocations: 1.355 MB / 1.025 GB, free: 10.06 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=400 -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/jenkins/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