Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001215/0.001215, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.677/1.677, allocations: 225.6 MB / 249.4 MB, free: 3.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,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_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 60.09 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45/1.452, allocations: 173.7 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002727/1.454, allocations: 1.224 MB / 1.307 GB, free: 32.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003391/1.455, allocations: 58.09 kB / 1.307 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/1.455, allocations: 0 / 1.307 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.164e-05/1.455, allocations: 7.406 kB / 1.307 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/1.455, allocations: 2.844 kB / 1.307 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/1.455, allocations: 17.94 kB / 1.307 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.795e-05/1.455, allocations: 18.84 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/1.455, allocations: 3.328 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/1.455, allocations: 5.5 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/1.456, allocations: 11.17 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/1.456, allocations: 0 / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/1.456, allocations: 9.344 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/1.456, allocations: 46.03 kB / 1.307 GB, free: 32.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/1.456, allocations: 40.94 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/1.456, allocations: 78.45 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.456, allocations: 0 / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/1.456, allocations: 3.031 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.485e-05/1.456, allocations: 0 / 1.307 GB, free: 32.39 MB / 1.061 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.0004689/1.456, allocations: 427 kB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.456, allocations: 9.031 kB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/1.457, allocations: 86.91 kB / 1.307 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/1.457, allocations: 271.7 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/1.457, allocations: 165.2 kB / 1.308 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/1.457, allocations: 158.5 kB / 1.308 GB, free: 31.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.243e-05/1.457, allocations: 101 kB / 1.308 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.457, allocations: 75.28 kB / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/1.457, allocations: 153.1 kB / 1.308 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/1.457, allocations: 154.6 kB / 1.308 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/1.457, allocations: 150.6 kB / 1.309 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/1.457, allocations: 0.497 MB / 1.309 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/1.457, allocations: 173 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/1.457, allocations: 84.14 kB / 1.309 GB, free: 29.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/1.457, allocations: 79.22 kB / 1.309 GB, free: 29.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.457, allocations: 112.9 kB / 1.309 GB, free: 29.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/1.457, allocations: 0 / 1.309 GB, free: 29.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.241e-05/1.457, allocations: 40.39 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.458, allocations: 126.7 kB / 1.31 GB, free: 29.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/1.458, allocations: 228.5 kB / 1.31 GB, free: 29.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/1.458, allocations: 32.64 kB / 1.31 GB, free: 29.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/1.458, allocations: 105.4 kB / 1.31 GB, free: 29.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/1.458, allocations: 0 / 1.31 GB, free: 29.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/1.458, allocations: 38 kB / 1.31 GB, free: 29.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/1.458, allocations: 332.4 kB / 1.31 GB, free: 28.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/1.458, allocations: 59.3 kB / 1.31 GB, free: 28.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/1.458, allocations: 55.36 kB / 1.31 GB, free: 28.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/1.458, allocations: 133.9 kB / 1.311 GB, free: 28.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.458, allocations: 8.031 kB / 1.311 GB, free: 28.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003543/1.459, allocations: 182.5 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.459, allocations: 5.906 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.459, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.459, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/1.459, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.459, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/1.459, allocations: 17.62 kB / 1.311 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/1.459, allocations: 3 kB / 1.311 GB, free: 28.77 MB / 1.061 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 8.521e-05/1.459, allocations: 207.5 kB / 1.311 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/1.459, allocations: 121.8 kB / 1.311 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/1.459, allocations: 112.4 kB / 1.311 GB, free: 28.35 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/1.459, allocations: 179.1 kB / 1.311 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-05/1.459, allocations: 179.7 kB / 1.312 GB, free: 27.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.33e-05/1.459, allocations: 184.2 kB / 1.312 GB, free: 27.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/1.459, allocations: 443.2 kB / 1.312 GB, free: 27.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/1.459, allocations: 104.9 kB / 1.312 GB, free: 27.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/1.459, allocations: 103.8 kB / 1.312 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-05/1.459, allocations: 180.2 kB / 1.313 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/1.459, allocations: 180.6 kB / 1.313 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.423e-05/1.459, allocations: 183.1 kB / 1.313 GB, free: 26.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.851e-05/1.459, allocations: 184.2 kB / 1.313 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/1.46, allocations: 324.5 kB / 1.313 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/1.46, allocations: 191.7 kB / 1.314 GB, free: 25.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/1.46, allocations: 176.3 kB / 1.314 GB, free: 25.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/1.46, allocations: 116.2 kB / 1.314 GB, free: 25.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/1.46, allocations: 179.5 kB / 1.314 GB, free: 25.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/1.46, allocations: 104.9 kB / 1.314 GB, free: 25.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001016/1.46, allocations: 154.2 kB / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.46, allocations: 0 / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002327/1.46, allocations: 16.78 kB / 1.314 GB, free: 25.18 MB / 1.061 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.0001674/1.46, allocations: 189.9 kB / 1.314 GB, free: 25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001412/1.46, allocations: 66.8 kB / 1.314 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.46, allocations: 0 / 1.314 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/1.46, allocations: 0 / 1.314 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/1.461, allocations: 458.5 kB / 1.315 GB, free: 24.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/1.461, allocations: 311.5 kB / 1.315 GB, free: 24.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/1.461, allocations: 0.7107 MB / 1.316 GB, free: 23.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.272e-05/1.461, allocations: 9.766 kB / 1.316 GB, free: 23.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/1.461, allocations: 13.56 kB / 1.316 GB, free: 23.59 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/1.461, allocations: 0 / 1.316 GB, free: 23.59 MB / 1.061 GB Notification: Performance of Templates: time 0.003734/1.465, allocations: 0.735 MB / 1.317 GB, free: 23.46 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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: 10.68852996174246]