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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=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_10_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_10_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.001152/0.001152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001169, allocations: 197 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 63.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9818/0.9833, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003283/0.9867, allocations: 1.219 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.987, allocations: 55.75 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.9871, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.9871, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.9873, allocations: 3.984 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.9875, allocations: 19.92 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.9876, allocations: 19.94 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.638e-05/0.9877, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.9877, allocations: 11.97 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.9878, allocations: 12.69 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.9879, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.988, allocations: 4 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.9881, allocations: 48.44 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.9881, allocations: 43.69 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.9883, allocations: 65.67 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9883, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9883, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9883, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 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.0005977/0.9889, allocations: 434.7 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.989, allocations: 12.03 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.9891, allocations: 92.11 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.9894, allocations: 259.4 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.9895, allocations: 158.7 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.9895, allocations: 158.5 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.699e-05/0.9896, allocations: 108.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.9897, allocations: 75.28 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.9898, allocations: 150.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/0.9898, allocations: 150.6 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.9899, allocations: 158.6 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.9903, allocations: 497.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.9904, allocations: 177 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.9905, allocations: 80.14 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.9905, allocations: 79.28 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.205e-05/0.9906, allocations: 105.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9906, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001333/0.9907, allocations: 41.56 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.9908, allocations: 138.6 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.9912, allocations: 231 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.9912, allocations: 25.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.9913, allocations: 112 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.9913, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.9914, allocations: 41.69 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.9916, allocations: 322.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.9917, allocations: 63.89 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.9918, allocations: 51.97 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.992, allocations: 138.5 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.992, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004264/0.9924, allocations: 188.5 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9924, allocations: 4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.9925, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9925, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.9925, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.9925, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.9926, allocations: 15.75 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.9926, allocations: 7.984 kB / 1.023 GB, free: 12.75 MB / 0.7794 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.0001549/0.9928, allocations: 201 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.9928, allocations: 116.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.49e-05/0.9929, allocations: 121.5 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.093e-05/0.993, allocations: 176.3 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.674e-05/0.9931, allocations: 180.2 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-05/0.9931, allocations: 180.2 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.9934, allocations: 445.1 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/0.9935, allocations: 104.9 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.9935, allocations: 101 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.701e-05/0.9936, allocations: 184.2 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.9937, allocations: 184.2 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.537e-05/0.9937, allocations: 176.3 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-05/0.9938, allocations: 188.2 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.994, allocations: 319.6 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.9941, allocations: 197.8 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.9942, allocations: 176.3 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.9943, allocations: 108.9 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.9944, allocations: 180.3 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.9944, allocations: 105.3 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001317/0.9946, allocations: 156.6 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9946, allocations: 0 / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000273/0.9949, allocations: 27.92 kB / 1.026 GB, free: 8.977 MB / 0.7794 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.000194/0.9951, allocations: 178.5 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.9952, allocations: 83.84 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9952, allocations: 0 / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.9952, allocations: 0 / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.9957, allocations: 465.1 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.9962, allocations: 306.3 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.9965, allocations: 0.7158 MB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.9965, allocations: 7.984 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.9966, allocations: 15.42 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.9966, allocations: 0 / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of Templates: time 0.003465/1, allocations: 0.7304 MB / 1.029 GB, free: 6.434 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) 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) Reference file matches