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) 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 12.0.0-master/package.mo", uses=false) 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=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_latest_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_latest_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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001256/0.001256, allocations: 199 kB / 16.14 MB, free: 6.645 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001378, allocations: 63.3 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5163, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.004034/0.5205, allocations: 1.278 MB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005162/0.521, allocations: 54 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.5211, allocations: 3.938 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.192e-05/0.5212, allocations: 3.984 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.5215, allocations: 11.94 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.5217, allocations: 7.969 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.5218, allocations: 35.91 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.5219, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.522, allocations: 4 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.5221, allocations: 25.42 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.5222, allocations: 4 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.5223, allocations: 7.984 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.5224, allocations: 44.45 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.5225, allocations: 43.67 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.5227, allocations: 67.94 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.5227, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5227, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.5227, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 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.0007664/0.5235, allocations: 426.8 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/0.5236, allocations: 11.97 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.5237, allocations: 88.03 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.524, allocations: 274.8 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.5241, allocations: 154.5 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.5242, allocations: 150.6 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5243, allocations: 109 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.5244, allocations: 75.28 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.5245, allocations: 154.6 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/0.5245, allocations: 150.6 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.5246, allocations: 154.6 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.5251, allocations: 497.7 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.5252, allocations: 177.1 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.5253, allocations: 80.14 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.5253, allocations: 79.27 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.5254, allocations: 105.8 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5254, allocations: 4 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001111/0.5255, allocations: 41.45 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5256, allocations: 126.7 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.5259, allocations: 235 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5259, allocations: 25.7 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.526, allocations: 112 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-06/0.5261, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.5261, allocations: 37.7 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5263, allocations: 334.8 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.5264, allocations: 51.97 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-05/0.5265, allocations: 64.45 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.5267, allocations: 131.4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5267, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00042/0.5271, allocations: 184.2 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5271, allocations: 7.984 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5272, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5272, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.5272, allocations: 4.062 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.5272, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.5273, allocations: 19.69 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.5273, allocations: 7.938 kB / 1.073 GB, free: 5.109 MB / 0.8262 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.0001593/0.5274, allocations: 205 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.786e-05/0.5276, allocations: 112.8 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.5276, allocations: 121.3 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/0.5277, allocations: 192.2 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-05/0.5278, allocations: 180.2 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.833e-05/0.5279, allocations: 176.3 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.5282, allocations: 441.1 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.067e-05/0.5283, allocations: 104.9 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.5283, allocations: 101 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.972e-05/0.5284, allocations: 188.2 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.5285, allocations: 184.3 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.257e-05/0.5286, allocations: 176.3 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.828e-05/0.5286, allocations: 184.2 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.5288, allocations: 327.8 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.5289, allocations: 186 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/0.529, allocations: 180.2 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5291, allocations: 104.9 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.5292, allocations: 180.3 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.5293, allocations: 108.9 kB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001325/0.5294, allocations: 159.1 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.5294, allocations: 0 / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003001/0.5297, allocations: 20 kB / 1.076 GB, free: 1.336 MB / 0.8262 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.0002311/0.53, allocations: 170.5 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.5301, allocations: 79.95 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5302, allocations: 0 / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.5302, allocations: 64 / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.5307, allocations: 0.5263 MB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.5312, allocations: 323.8 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.5316, allocations: 0.716 MB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.5317, allocations: 11.98 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.5317, allocations: 11.38 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.5317, allocations: 4 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.004253/0.536, allocations: 0.7149 MB / 1.079 GB, free: 14.72 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) 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) Reference file matches