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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001673/0.001673, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.00189/0.00189, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.42 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3977, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003121/0.4009, allocations: 1.224 MB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.4012, allocations: 59.81 kB / 0.9524 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.4013, allocations: 0 / 0.9524 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.284e-05/0.4014, allocations: 7.875 kB / 0.9524 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.4016, allocations: 11.98 kB / 0.9524 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.4018, allocations: 4 kB / 0.9524 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.4019, allocations: 23.91 kB / 0.9524 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.402, allocations: 4 kB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.402, allocations: 4 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.4021, allocations: 4.75 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4021, allocations: 0 / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.4022, allocations: 19.91 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.4024, allocations: 40.45 kB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.4024, allocations: 43.67 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4026, allocations: 75.59 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4026, allocations: 4 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4026, allocations: 4 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4026, allocations: 4 kB / 0.9526 GB, free: 6.52 MB / 0.7325 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.0006499/0.4033, allocations: 422.7 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4034, allocations: 8.031 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.4035, allocations: 84.12 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.4037, allocations: 267.3 kB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.4039, allocations: 154.7 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.952e-05/0.404, allocations: 162.6 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/0.4041, allocations: 101 kB / 0.9537 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.4041, allocations: 75.28 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.4042, allocations: 150.6 kB / 0.954 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-05/0.4043, allocations: 154.5 kB / 0.9541 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.4043, allocations: 154.6 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.4048, allocations: 499.8 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.405, allocations: 173.1 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.405, allocations: 80.14 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.4051, allocations: 91.14 kB / 0.9551 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.633e-05/0.4052, allocations: 113.8 kB / 0.9552 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4052, allocations: 3.938 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001083/0.4053, allocations: 37.52 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.4054, allocations: 126.7 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.4057, allocations: 219.1 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4057, allocations: 25.7 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4058, allocations: 120 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/0.4059, allocations: 0 / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.4059, allocations: 33.7 kB / 0.9557 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4061, allocations: 334.8 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.4062, allocations: 59.91 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.4063, allocations: 61.2 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.4065, allocations: 135 kB / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4065, allocations: 0 / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003641/0.4069, allocations: 173.4 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4069, allocations: 13.92 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4069, allocations: 0 / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4069, allocations: 4 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.4069, allocations: 0 / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4069, allocations: 0 / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.407, allocations: 15.69 kB / 0.9565 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.407, allocations: 8 kB / 0.9565 GB, free: 2.316 MB / 0.7325 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.0001561/0.4072, allocations: 205 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.4073, allocations: 116.8 kB / 0.9568 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.4073, allocations: 113.5 kB / 0.9569 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.027e-05/0.4074, allocations: 184.2 kB / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-05/0.4075, allocations: 176.3 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.687e-05/0.4076, allocations: 180.3 kB / 0.9574 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.4079, allocations: 449.1 kB / 0.9578 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.837e-05/0.408, allocations: 109 kB / 0.9579 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.408, allocations: 104.9 kB / 0.958 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-05/0.4081, allocations: 176.3 kB / 0.9582 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-05/0.4082, allocations: 176.3 kB / 0.9584 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.883e-05/0.4083, allocations: 184.2 kB / 0.9585 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001045/0.4084, allocations: 184.2 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.4086, allocations: 315.8 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4087, allocations: 189.9 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.4089, allocations: 196.2 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.409, allocations: 105 kB / 0.9595 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.4091, allocations: 184.2 kB / 0.9597 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.4091, allocations: 101 kB / 0.9598 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001389/0.4093, allocations: 168.5 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4093, allocations: 0 / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002723/0.4095, allocations: 16 kB / 0.9599 GB, free: 14.54 MB / 0.7481 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.0002228/0.4098, allocations: 174.5 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.41, allocations: 91.83 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.41, allocations: 0 / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.41, allocations: 0 / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.4104, allocations: 459.6 kB / 0.9606 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.4109, allocations: 294.4 kB / 0.9609 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4113, allocations: 0.7156 MB / 0.9616 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.4114, allocations: 7.984 kB / 0.9616 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.4114, allocations: 11.44 kB / 0.9616 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.4114, allocations: 0 / 0.9616 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.003845/0.4152, allocations: 0.7422 MB / 0.9624 GB, free: 12 MB / 0.7481 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 -s cvode -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/jenkins1/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