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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002491/0.002491, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.301/3.301, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.198e-05, allocations: 3.031 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002742/0.002773, allocations: 1.245 MB / 0.8788 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.003037, allocations: 52.67 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.003071, allocations: 1.031 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.51e-05/0.003126, allocations: 0 / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.003252, allocations: 13 kB / 0.8788 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.003422, allocations: 10 kB / 0.8788 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.38e-05/0.003506, allocations: 20.78 kB / 0.8789 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.003543, allocations: 5.031 kB / 0.8789 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.003597, allocations: 4 kB / 0.8789 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.003664, allocations: 12.67 kB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.00368, allocations: 1.094 kB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.003758, allocations: 8 kB / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.003862, allocations: 53.17 kB / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.003909, allocations: 25.5 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.00408, allocations: 67.64 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004082, allocations: 0 / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004083, allocations: 3.938 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.004087, allocations: 0.5 kB / 0.879 GB, free: 5.023 MB / 0.8386 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.0005107/0.004598, allocations: 359 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.00464, allocations: 8.031 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.004821, allocations: 88.12 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.00503, allocations: 208.9 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.034e-05/0.00512, allocations: 151.5 kB / 0.8798 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.005217, allocations: 158.9 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.005305, allocations: 105.9 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.005349, allocations: 75.28 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.005429, allocations: 156 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-05/0.005511, allocations: 154.5 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.005599, allocations: 154.6 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.006022, allocations: 441.5 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.006138, allocations: 168.5 kB / 0.8812 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.006184, allocations: 80.14 kB / 0.8812 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.006231, allocations: 79.22 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/0.006304, allocations: 113.8 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.006305, allocations: 0 / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001091/0.006414, allocations: 41.55 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.006504, allocations: 126.7 kB / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.006803, allocations: 235.8 kB / 0.8818 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.006831, allocations: 26.86 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.006934, allocations: 104.1 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.006937, allocations: 0 / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.007006, allocations: 41.7 kB / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.007185, allocations: 327.9 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.00728, allocations: 51.97 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.007368, allocations: 67.89 kB / 0.8824 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.007567, allocations: 134.4 kB / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.007568, allocations: 0 / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003762/0.007945, allocations: 177.5 kB / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.007962, allocations: 8 kB / 0.8827 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.007971, allocations: 3.984 kB / 0.8827 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.007986, allocations: 0 / 0.8827 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.007987, allocations: 3.938 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.007992, allocations: 0 / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.008049, allocations: 23.77 kB / 0.8827 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.008068, allocations: 4 kB / 0.8827 GB, free: 1.055 MB / 0.8386 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.0001528/0.008221, allocations: 205.2 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/0.008316, allocations: 125.6 kB / 0.8831 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.949e-05/0.008395, allocations: 117.5 kB / 0.8832 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/0.008497, allocations: 184.2 kB / 0.8833 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.04e-05/0.008588, allocations: 176.3 kB / 0.8835 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.561e-05/0.008683, allocations: 180.3 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.009014, allocations: 388.8 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.894e-05/0.009073, allocations: 109.1 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.009131, allocations: 108.9 kB / 0.8843 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.924e-05/0.00923, allocations: 176.3 kB / 0.8844 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.009338, allocations: 196.1 kB / 0.8846 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.283e-05/0.009431, allocations: 176.3 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-05/0.009523, allocations: 180.3 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.009729, allocations: 315.7 kB / 0.8853 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.00981, allocations: 116.9 kB / 0.8854 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.00992, allocations: 180.2 kB / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01003, allocations: 109 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.01013, allocations: 184.2 kB / 0.8858 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.01018, allocations: 101 kB / 0.8859 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001699/0.01035, allocations: 160.6 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01035, allocations: 0 / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002729/0.01063, allocations: 27.98 kB / 0.8861 GB, free: 13.43 MB / 0.8542 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.0002028/0.01083, allocations: 170.5 kB / 0.8863 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.01097, allocations: 67.89 kB / 0.8863 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01098, allocations: 0 / 0.8863 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.01098, allocations: 0 / 0.8863 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.0115, allocations: 459.7 kB / 0.8868 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.01197, allocations: 303.8 kB / 0.8871 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.01209, allocations: 105.8 kB / 0.8872 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.01211, allocations: 7.984 kB / 0.8872 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.01214, allocations: 16.44 kB / 0.8872 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.01215, allocations: 0 / 0.8872 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.003539/0.01568, allocations: 0.7134 MB / 0.8879 GB, free: 11.55 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.355365129071288]