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.001142/0.001142, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001229/0.001229, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.089/2.089, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 1.094 kB / 0.8793 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.054e-05, allocations: 3.625 kB / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001681/0.001701, allocations: 1.281 MB / 0.8806 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001742/0.001875, allocations: 49.25 kB / 0.8806 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.001902, allocations: 0 / 0.8806 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.001938, allocations: 4.578 kB / 0.8807 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.002039, allocations: 10.88 kB / 0.8807 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.002164, allocations: 15.97 kB / 0.8807 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.00223, allocations: 13.03 kB / 0.8807 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.002262, allocations: 1.062 kB / 0.8807 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.002303, allocations: 7.984 kB / 0.8807 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.002364, allocations: 24.66 kB / 0.8807 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002377, allocations: 1.062 kB / 0.8807 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.002442, allocations: 7.938 kB / 0.8807 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.002514, allocations: 50 kB / 0.8808 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.002537, allocations: 19.94 kB / 0.8808 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.002634, allocations: 63.7 kB / 0.8809 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002635, allocations: 1.125 kB / 0.8809 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002636, allocations: 0 / 0.8809 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.002639, allocations: 4 kB / 0.8809 GB, free: 4.535 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.0003085/0.002948, allocations: 468.3 kB / 0.8813 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.002979, allocations: 8.844 kB / 0.8813 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.003034, allocations: 132 kB / 0.8814 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.003152, allocations: 255.6 kB / 0.8817 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.003208, allocations: 242.2 kB / 0.8819 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.003264, allocations: 238.8 kB / 0.8821 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.889e-05/0.003323, allocations: 157.8 kB / 0.8823 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.003353, allocations: 119.2 kB / 0.8824 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/0.003407, allocations: 238.4 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.00346, allocations: 238.4 kB / 0.8829 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.796e-05/0.003518, allocations: 246.3 kB / 0.8831 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.003749, allocations: 0.588 MB / 0.8837 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.469e-05/0.003834, allocations: 269.4 kB / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.003864, allocations: 134.9 kB / 0.8841 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.003889, allocations: 119.2 kB / 0.8842 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.003931, allocations: 152.6 kB / 0.8843 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.003931, allocations: 0 / 0.8843 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.619e-05/0.003988, allocations: 41.53 kB / 0.8844 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.004041, allocations: 174.6 kB / 0.8845 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.004184, allocations: 278.3 kB / 0.8848 GB, free: 356 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.004196, allocations: 29.7 kB / 0.8848 GB, free: 320 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.004252, allocations: 158.8 kB / 0.885 GB, free: 156 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.004253, allocations: 0 / 0.885 GB, free: 156 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.004295, allocations: 55.31 kB / 0.885 GB, free: 92 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.004422, allocations: 0.5001 MB / 0.8855 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.004445, allocations: 12 kB / 0.8855 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.004465, allocations: 12 kB / 0.8855 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.004526, allocations: 54.59 kB / 0.8856 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004528, allocations: 0 / 0.8856 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000138/0.004666, allocations: 109.5 kB / 0.8857 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004678, allocations: 7.938 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004683, allocations: 0 / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.004691, allocations: 4 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.004692, allocations: 0 / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.004695, allocations: 8.062 kB / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.004727, allocations: 19.78 kB / 0.8857 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.004739, allocations: 7.984 kB / 0.8857 GB, free: 15.34 MB / 0.8542 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 8.999e-05/0.004829, allocations: 271.8 kB / 0.886 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.004879, allocations: 160.8 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.004924, allocations: 161.3 kB / 0.8863 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/0.004984, allocations: 272.1 kB / 0.8866 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.476e-05/0.005048, allocations: 272 kB / 0.8868 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.053e-05/0.005109, allocations: 268.1 kB / 0.8871 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.005285, allocations: 0.4965 MB / 0.8876 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-05/0.005321, allocations: 152.9 kB / 0.8877 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.005356, allocations: 148.9 kB / 0.8879 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-05/0.005416, allocations: 268 kB / 0.8881 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.005477, allocations: 264.1 kB / 0.8884 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.788e-05/0.005545, allocations: 272 kB / 0.8886 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-05/0.005602, allocations: 268 kB / 0.8889 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.005737, allocations: 459.9 kB / 0.8893 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.005782, allocations: 156.8 kB / 0.8895 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.005845, allocations: 268 kB / 0.8897 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.005903, allocations: 152.9 kB / 0.8899 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.00596, allocations: 272 kB / 0.8901 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.005993, allocations: 148.8 kB / 0.8903 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.969e-05/0.006063, allocations: 188.5 kB / 0.8904 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006063, allocations: 0 / 0.8904 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001597/0.006222, allocations: 16 kB / 0.8905 GB, free: 10.31 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.0001157/0.006338, allocations: 222.4 kB / 0.8907 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.097e-05/0.006409, allocations: 31.67 kB / 0.8907 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.00641, allocations: 0 / 0.8907 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.006412, allocations: 3.938 kB / 0.8907 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.006713, allocations: 0.7207 MB / 0.8914 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.006988, allocations: 318.3 kB / 0.8917 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.00703, allocations: 75.31 kB / 0.8918 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.007045, allocations: 7.984 kB / 0.8918 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.007084, allocations: 66.2 kB / 0.8919 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of SimCode: time 5.2e-07/0.007084, allocations: 4 kB / 0.8919 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of Templates: time 0.002279/0.009363, allocations: 0.8263 MB / 0.8927 GB, free: 7.988 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.228594717103988]