Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00928/0.00928, allocations: 171.1 kB / 16.26 MB, free: 6.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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 8.188 kB / 0.8159 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.026, allocations: 142.4 MB / 0.955 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002295/1.028, allocations: 0.9409 MB / 0.956 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004857/1.029, allocations: 56.52 kB / 0.956 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/1.029, allocations: 0 / 0.956 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/1.029, allocations: 0 / 0.956 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/1.029, allocations: 18.38 kB / 0.956 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/1.029, allocations: 2.844 kB / 0.956 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/1.029, allocations: 41.36 kB / 0.9561 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/1.03, allocations: 1.562 kB / 0.9561 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/1.03, allocations: 3.781 kB / 0.9561 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/1.03, allocations: 15.8 kB / 0.9561 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/1.03, allocations: 0 / 0.9561 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/1.03, allocations: 7.562 kB / 0.9561 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/1.03, allocations: 52.97 kB / 0.9561 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/1.03, allocations: 65.59 kB / 0.9562 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/1.03, allocations: 77.73 kB / 0.9563 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.03, allocations: 1.188 kB / 0.9563 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.909e-06/1.03, allocations: 0 / 0.9563 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.376e-06/1.03, allocations: 0 / 0.9563 GB, free: 6.949 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000619/1.031, allocations: 409.4 kB / 0.9567 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.698e-05/1.031, allocations: 13.22 kB / 0.9567 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/1.031, allocations: 85.25 kB / 0.9568 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/1.031, allocations: 267.9 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/1.031, allocations: 158.5 kB / 0.9572 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/1.032, allocations: 151.7 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/1.032, allocations: 102 kB / 0.9574 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/1.032, allocations: 79.28 kB / 0.9575 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/1.032, allocations: 151.7 kB / 0.9576 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/1.032, allocations: 150.6 kB / 0.9578 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.248e-05/1.032, allocations: 151.7 kB / 0.9579 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/1.032, allocations: 0.4917 MB / 0.9584 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/1.032, allocations: 170.2 kB / 0.9586 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/1.033, allocations: 81.11 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/1.033, allocations: 79.28 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/1.033, allocations: 110.9 kB / 0.9588 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/1.033, allocations: 0 / 0.9588 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001231/1.033, allocations: 41.58 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/1.033, allocations: 131.7 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/1.033, allocations: 232.4 kB / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/1.033, allocations: 25.7 kB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/1.033, allocations: 111.1 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-06/1.033, allocations: 0 / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/1.033, allocations: 26.73 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.034, allocations: 331.8 kB / 0.9597 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.034, allocations: 56.88 kB / 0.9597 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/1.034, allocations: 57.27 kB / 0.9598 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/1.034, allocations: 137.4 kB / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.034, allocations: 0 / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004794/1.034, allocations: 182 kB / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.035, allocations: 6.281 kB / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.035, allocations: 0 / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/1.035, allocations: 1.156 kB / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/1.035, allocations: 0 / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.035, allocations: 0 / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/1.035, allocations: 19.03 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/1.035, allocations: 9.062 kB / 0.9601 GB, free: 3.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001586/1.035, allocations: 201.3 kB / 0.9603 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/1.035, allocations: 117.6 kB / 0.9604 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/1.035, allocations: 128.7 kB / 0.9606 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/1.035, allocations: 177.5 kB / 0.9607 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.733e-05/1.035, allocations: 185.4 kB / 0.9609 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.65e-05/1.035, allocations: 181.4 kB / 0.9611 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/1.036, allocations: 444.6 kB / 0.9615 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.323e-05/1.036, allocations: 106.2 kB / 0.9616 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/1.036, allocations: 102.3 kB / 0.9617 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-05/1.036, allocations: 181.6 kB / 0.9619 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/1.036, allocations: 184.2 kB / 0.9621 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.818e-05/1.036, allocations: 177.5 kB / 0.9622 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.089e-05/1.036, allocations: 181.7 kB / 0.9624 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/1.036, allocations: 317.5 kB / 0.9627 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/1.036, allocations: 197.3 kB / 0.9629 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/1.036, allocations: 178.3 kB / 0.9631 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.036, allocations: 114.5 kB / 0.9632 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/1.036, allocations: 176.3 kB / 0.9633 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/1.036, allocations: 110.6 kB / 0.9634 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001913/1.037, allocations: 168.5 kB / 0.9636 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.037, allocations: 4 kB / 0.9636 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000338/1.037, allocations: 21.34 kB / 0.9636 GB, free: 15.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002801/1.037, allocations: 182.3 kB / 0.9638 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002347/1.038, allocations: 78.33 kB / 0.9639 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.038, allocations: 5.375 kB / 0.9639 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/1.038, allocations: 0 / 0.9639 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/1.038, allocations: 0.5277 MB / 0.9644 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/1.039, allocations: 315.2 kB / 0.9647 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/1.039, allocations: 0.7115 MB / 0.9654 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.41e-05/1.039, allocations: 10.86 kB / 0.9654 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/1.039, allocations: 8.812 kB / 0.9654 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/1.039, allocations: 0 / 0.9654 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.004536/1.044, allocations: 0.6958 MB / 0.9661 GB, free: 13.44 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches