Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002131/0.002131, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002622/0.002622, allocations: 192.3 kB / 22.23 MB, free: 5.156 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.567/1.567, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.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_10_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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282/1.284, allocations: 160.8 MB / 1.218 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00316/1.287, allocations: 1.223 MB / 1.22 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/1.288, allocations: 56.36 kB / 1.22 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/1.288, allocations: 3.938 kB / 1.22 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/1.288, allocations: 0 / 1.22 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/1.288, allocations: 10.2 kB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/1.288, allocations: 12 kB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/1.288, allocations: 16.28 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/1.288, allocations: 5.219 kB / 1.22 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/1.288, allocations: 8.25 kB / 1.22 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/1.288, allocations: 18.44 kB / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/1.288, allocations: 0 / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.028e-05/1.288, allocations: 7.469 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/1.289, allocations: 48.81 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/1.289, allocations: 40.62 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/1.289, allocations: 73.12 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.289, allocations: 1.094 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.933e-06/1.289, allocations: 4 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.289, allocations: 0 / 1.22 GB, free: 2.496 MB / 0.92 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.0006595/1.29, allocations: 426.6 kB / 1.22 GB, free: 2.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.29, allocations: 13.83 kB / 1.22 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/1.29, allocations: 88.59 kB / 1.22 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/1.29, allocations: 272.7 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/1.29, allocations: 158.5 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/1.29, allocations: 159.4 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/1.29, allocations: 106.5 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/1.29, allocations: 79.28 kB / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/1.29, allocations: 150.6 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-05/1.29, allocations: 150.6 kB / 1.221 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/1.29, allocations: 152 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/1.291, allocations: 0.4995 MB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/1.291, allocations: 170.1 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/1.291, allocations: 81.3 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.29e-05/1.291, allocations: 75.28 kB / 1.222 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.744e-05/1.291, allocations: 111.3 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/1.291, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.000103/1.291, allocations: 38.2 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/1.291, allocations: 130.7 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/1.292, allocations: 225.5 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/1.292, allocations: 27.08 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/1.292, allocations: 114.1 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/1.292, allocations: 4 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/1.292, allocations: 38.91 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.292, allocations: 335.2 kB / 1.223 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/1.292, allocations: 61.64 kB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/1.292, allocations: 53.31 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/1.293, allocations: 137.9 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.293, allocations: 0 / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004791/1.293, allocations: 175.7 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.293, allocations: 5.375 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.293, allocations: 4 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/1.293, allocations: 1.125 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/1.293, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.293, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/1.293, allocations: 15.88 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/1.293, allocations: 12.42 kB / 1.224 GB, free: 14.73 MB / 0.9356 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.0002259/1.293, allocations: 205.8 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.294, allocations: 112.9 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/1.294, allocations: 121.1 kB / 1.224 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001825/1.294, allocations: 181.3 kB / 1.224 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001112/1.294, allocations: 181.4 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001109/1.294, allocations: 185.5 kB / 1.225 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/1.295, allocations: 436 kB / 1.225 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.58e-05/1.295, allocations: 105 kB / 1.225 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/1.295, allocations: 110 kB / 1.225 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/1.295, allocations: 181.4 kB / 1.226 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.295, allocations: 181.3 kB / 1.226 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001113/1.295, allocations: 177.4 kB / 1.226 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001216/1.295, allocations: 181.4 kB / 1.226 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/1.296, allocations: 326.2 kB / 1.226 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/1.296, allocations: 193.2 kB / 1.227 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.296, allocations: 181.3 kB / 1.227 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/1.296, allocations: 102.4 kB / 1.227 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.296, allocations: 189.3 kB / 1.227 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/1.296, allocations: 106 kB / 1.227 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002166/1.296, allocations: 152.9 kB / 1.227 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.296, allocations: 0 / 1.227 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003145/1.297, allocations: 17.84 kB / 1.227 GB, free: 11.08 MB / 0.9356 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.0002908/1.297, allocations: 184.5 kB / 1.227 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002256/1.297, allocations: 71.86 kB / 1.228 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.297, allocations: 0 / 1.228 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/1.297, allocations: 1.156 kB / 1.228 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/1.298, allocations: 464.7 kB / 1.228 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/1.299, allocations: 301.9 kB / 1.228 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/1.299, allocations: 0.7086 MB / 1.229 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.1e-05/1.299, allocations: 13.52 kB / 1.229 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/1.299, allocations: 13.36 kB / 1.229 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/1.299, allocations: 0 / 1.229 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.004843/1.304, allocations: 0.7425 MB / 1.23 GB, free: 9.043 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.027349097654223]