Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001835/0.001835, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001887/0.001887, allocations: 192.1 kB / 22.11 MB, free: 4.223 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.586/1.586, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.047/3.047, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.89 kB / 1.137 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58/1.582, allocations: 173.6 MB / 1.307 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002918/1.585, allocations: 1.215 MB / 1.308 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002947/1.585, allocations: 57.31 kB / 1.308 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/1.585, allocations: 0 / 1.308 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/1.585, allocations: 6.203 kB / 1.308 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/1.585, allocations: 11.59 kB / 1.308 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/1.586, allocations: 10.55 kB / 1.308 GB, free: 0 / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/1.586, allocations: 17.48 kB / 1.308 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/1.586, allocations: 5.594 kB / 1.308 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/1.586, allocations: 5.344 kB / 1.308 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/1.586, allocations: 8.438 kB / 1.308 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/1.586, allocations: 1 kB / 1.308 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/1.586, allocations: 5.672 kB / 1.308 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/1.586, allocations: 58.7 kB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/1.586, allocations: 40.17 kB / 1.308 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/1.586, allocations: 75.36 kB / 1.308 GB, free: 15.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.586, allocations: 1.469 kB / 1.308 GB, free: 15.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.454e-06/1.586, allocations: 3.938 kB / 1.308 GB, free: 15.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.586, allocations: 0 / 1.308 GB, free: 15.91 MB / 1.014 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.0006192/1.587, allocations: 353.3 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.587, allocations: 8.938 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/1.587, allocations: 93.03 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/1.587, allocations: 213.6 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.588, allocations: 160.8 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/1.588, allocations: 150.6 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/1.588, allocations: 102.3 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.31e-05/1.588, allocations: 75.28 kB / 1.309 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/1.588, allocations: 155.2 kB / 1.309 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/1.588, allocations: 155.7 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/1.588, allocations: 158.5 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/1.589, allocations: 469.4 kB / 1.31 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/1.589, allocations: 174.9 kB / 1.31 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/1.589, allocations: 81.3 kB / 1.31 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/1.589, allocations: 75.28 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.048e-05/1.589, allocations: 119.2 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/1.589, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001175/1.589, allocations: 39.33 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/1.589, allocations: 131.4 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/1.59, allocations: 227.6 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/1.59, allocations: 27.17 kB / 1.311 GB, free: 13.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/1.59, allocations: 109.6 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-06/1.59, allocations: 1.344 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/1.59, allocations: 37.7 kB / 1.311 GB, free: 12.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.59, allocations: 327.3 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/1.59, allocations: 60.05 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/1.59, allocations: 58.36 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/1.59, allocations: 139.2 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.59, allocations: 1.219 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000588/1.591, allocations: 176.3 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.591, allocations: 5.906 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.591, allocations: 0.7969 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.591, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-06/1.591, allocations: 1.25 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/1.591, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/1.591, allocations: 16.11 kB / 1.312 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/1.591, allocations: 13.67 kB / 1.312 GB, free: 12.48 MB / 1.014 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.0001852/1.591, allocations: 207.7 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.591, allocations: 121.5 kB / 1.312 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/1.592, allocations: 111.4 kB / 1.312 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001196/1.592, allocations: 178 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.675e-05/1.592, allocations: 182.1 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001228/1.592, allocations: 186.2 kB / 1.313 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/1.592, allocations: 413.2 kB / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000126/1.592, allocations: 103 kB / 1.313 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.592, allocations: 105.5 kB / 1.313 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.636e-05/1.593, allocations: 178.2 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/1.593, allocations: 182.7 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001136/1.593, allocations: 189.9 kB / 1.314 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001049/1.593, allocations: 182.5 kB / 1.314 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/1.593, allocations: 316.6 kB / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/1.593, allocations: 122.2 kB / 1.315 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.593, allocations: 186.6 kB / 1.315 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.593, allocations: 102.6 kB / 1.315 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.594, allocations: 182.3 kB / 1.315 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/1.594, allocations: 102.1 kB / 1.315 GB, free: 9.102 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000191/1.594, allocations: 157 kB / 1.315 GB, free: 9.008 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.594, allocations: 1.281 kB / 1.315 GB, free: 9.008 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003098/1.594, allocations: 21.67 kB / 1.315 GB, free: 9.004 MB / 1.014 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.0002554/1.594, allocations: 177.9 kB / 1.315 GB, free: 8.836 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002/1.595, allocations: 66.42 kB / 1.316 GB, free: 8.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.595, allocations: 1.406 kB / 1.316 GB, free: 8.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/1.595, allocations: 7.938 kB / 1.316 GB, free: 8.812 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/1.595, allocations: 457.9 kB / 1.316 GB, free: 8.363 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/1.596, allocations: 298.2 kB / 1.316 GB, free: 8.129 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/1.596, allocations: 0.7085 MB / 1.317 GB, free: 7.434 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.96e-05/1.596, allocations: 9.766 kB / 1.317 GB, free: 7.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/1.596, allocations: 11.03 kB / 1.317 GB, free: 7.422 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.596, allocations: 5.062 kB / 1.317 GB, free: 7.418 MB / 1.014 GB Notification: Performance of Templates: time 0.004221/1.601, allocations: 0.7456 MB / 1.318 GB, free: 7.289 MB / 1.014 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.716298251412809]