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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 489.7 MB / 0.7761 GB, free: 2.496 MB / 0.6075 GB [Timeout remaining time 86] 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=500,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=500,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.001937/0.001937, allocations: 71.88 kB / 1.127 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251/1.253, allocations: 172 MB / 1.295 GB, free: 38.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002088/1.255, allocations: 1.216 MB / 1.296 GB, free: 37.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002484/1.255, allocations: 62.67 kB / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/1.255, allocations: 0 / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/1.255, allocations: 0 / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/1.255, allocations: 14.03 kB / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/1.255, allocations: 10 kB / 1.296 GB, free: 37.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/1.255, allocations: 12.48 kB / 1.296 GB, free: 37.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/1.255, allocations: 10.11 kB / 1.296 GB, free: 37.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/1.255, allocations: 6.75 kB / 1.296 GB, free: 37.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/1.256, allocations: 13.66 kB / 1.296 GB, free: 37.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/1.256, allocations: 0 / 1.296 GB, free: 37.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/1.256, allocations: 2.781 kB / 1.296 GB, free: 37.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/1.256, allocations: 50.75 kB / 1.296 GB, free: 37.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/1.256, allocations: 40.22 kB / 1.296 GB, free: 37.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/1.256, allocations: 78.31 kB / 1.296 GB, free: 37.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.256, allocations: 0 / 1.296 GB, free: 37.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/1.256, allocations: 0 / 1.296 GB, free: 37.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.256, allocations: 3.938 kB / 1.296 GB, free: 37.64 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.000403/1.256, allocations: 432.5 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.256, allocations: 8.562 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/1.256, allocations: 86.78 kB / 1.297 GB, free: 37.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.257, allocations: 277.1 kB / 1.297 GB, free: 36.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/1.257, allocations: 154.7 kB / 1.297 GB, free: 36.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/1.257, allocations: 153.5 kB / 1.297 GB, free: 36.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.988e-05/1.257, allocations: 104.9 kB / 1.297 GB, free: 36.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.257, allocations: 79.28 kB / 1.298 GB, free: 36.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/1.257, allocations: 150.6 kB / 1.298 GB, free: 36.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/1.257, allocations: 154.6 kB / 1.298 GB, free: 36.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/1.257, allocations: 153.2 kB / 1.298 GB, free: 35.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/1.257, allocations: 497.6 kB / 1.298 GB, free: 35.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/1.257, allocations: 173 kB / 1.299 GB, free: 35.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/1.257, allocations: 84.19 kB / 1.299 GB, free: 35.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/1.257, allocations: 79.28 kB / 1.299 GB, free: 35.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.257, allocations: 109 kB / 1.299 GB, free: 34.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/1.257, allocations: 0 / 1.299 GB, free: 34.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.891e-05/1.257, allocations: 39.67 kB / 1.299 GB, free: 34.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/1.257, allocations: 134.6 kB / 1.299 GB, free: 34.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/1.257, allocations: 230.9 kB / 1.299 GB, free: 34.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/1.257, allocations: 25.7 kB / 1.299 GB, free: 34.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/1.258, allocations: 113.2 kB / 1.299 GB, free: 34.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/1.258, allocations: 0 / 1.299 GB, free: 34.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/1.258, allocations: 37.5 kB / 1.299 GB, free: 34.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/1.258, allocations: 323.9 kB / 1.3 GB, free: 34.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/1.258, allocations: 60.88 kB / 1.3 GB, free: 34.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/1.258, allocations: 57.28 kB / 1.3 GB, free: 34.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/1.258, allocations: 140.2 kB / 1.3 GB, free: 34.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.258, allocations: 0 / 1.3 GB, free: 34.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002926/1.258, allocations: 176.1 kB / 1.3 GB, free: 34.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.258, allocations: 9.688 kB / 1.3 GB, free: 34.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.258, allocations: 0 / 1.3 GB, free: 34.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.258, allocations: 0 / 1.3 GB, free: 34.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/1.258, allocations: 0 / 1.3 GB, free: 34.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.258, allocations: 2.875 kB / 1.3 GB, free: 34.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/1.258, allocations: 14.81 kB / 1.3 GB, free: 34.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/1.258, allocations: 2.969 kB / 1.3 GB, free: 34.03 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 9.757e-05/1.258, allocations: 212.8 kB / 1.3 GB, free: 33.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/1.258, allocations: 111.4 kB / 1.3 GB, free: 33.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/1.259, allocations: 123.4 kB / 1.301 GB, free: 33.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/1.259, allocations: 179.5 kB / 1.301 GB, free: 33.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/1.259, allocations: 184.2 kB / 1.301 GB, free: 33.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/1.259, allocations: 187 kB / 1.301 GB, free: 33.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/1.259, allocations: 436.5 kB / 1.302 GB, free: 32.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.259, allocations: 104.9 kB / 1.302 GB, free: 32.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/1.259, allocations: 111.3 kB / 1.302 GB, free: 32.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.342e-05/1.259, allocations: 176.3 kB / 1.302 GB, free: 32.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/1.259, allocations: 185.2 kB / 1.302 GB, free: 32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-05/1.259, allocations: 183.1 kB / 1.302 GB, free: 31.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-05/1.259, allocations: 180.2 kB / 1.302 GB, free: 31.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.498e-05/1.259, allocations: 320.8 kB / 1.303 GB, free: 31.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/1.259, allocations: 191.8 kB / 1.303 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/1.259, allocations: 183.5 kB / 1.303 GB, free: 30.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/1.259, allocations: 105.2 kB / 1.303 GB, free: 30.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/1.259, allocations: 179.5 kB / 1.303 GB, free: 30.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.259, allocations: 105 kB / 1.303 GB, free: 30.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001008/1.259, allocations: 165.8 kB / 1.304 GB, free: 30.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.259, allocations: 0 / 1.304 GB, free: 30.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002397/1.26, allocations: 16.47 kB / 1.304 GB, free: 30.42 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.0001728/1.26, allocations: 184.1 kB / 1.304 GB, free: 30.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001413/1.26, allocations: 66.88 kB / 1.304 GB, free: 30.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.26, allocations: 0 / 1.304 GB, free: 30.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/1.26, allocations: 0 / 1.304 GB, free: 30.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/1.26, allocations: 460.7 kB / 1.304 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/1.261, allocations: 339.6 kB / 1.305 GB, free: 29.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/1.261, allocations: 0.7095 MB / 1.305 GB, free: 28.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/1.261, allocations: 13.34 kB / 1.305 GB, free: 28.82 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.261, allocations: 0 / 1.305 GB, free: 28.82 MB / 1.061 GB Notification: Performance of Templates: time 0.002933/1.264, allocations: 1.124 MB / 1.306 GB, free: 28.68 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/jenkins1/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