Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.002434/0.002434, allocations: 81.5 kB / 19.44 MB, free: 344 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.002783/0.002783, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.406/3.406, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.003e-05, allocations: 7.219 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002485/0.002515, allocations: 1.253 MB / 0.8786 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.003484, allocations: 413.6 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.003509, allocations: 4 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.16e-05/0.003591, allocations: 3.938 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.231e-05/0.003613, allocations: 1.859 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.004131, allocations: 115.8 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.004206, allocations: 20.92 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.004239, allocations: 7.922 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.004284, allocations: 15.98 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.899e-05/0.004313, allocations: 9.016 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.004337, allocations: 0 / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.00463, allocations: 136.8 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.00468, allocations: 19.92 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.004714, allocations: 15.92 kB / 0.8794 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.004972, allocations: 140.5 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004974, allocations: 0 / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004975, allocations: 0 / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004979, allocations: 0.9375 kB / 0.8795 GB, free: 4.574 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008349/0.005814, allocations: 470.3 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.005855, allocations: 8.562 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.005963, allocations: 16.84 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.00611, allocations: 133.4 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.006127, allocations: 384 / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.00614, allocations: 4.375 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.006289, allocations: 70.2 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.006297, allocations: 192 / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.006305, allocations: 384 / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006313, allocations: 9.625 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.006364, allocations: 27.94 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.006543, allocations: 132.4 kB / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.006646, allocations: 56.16 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.006704, allocations: 35.72 kB / 0.8804 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.006714, allocations: 0.6562 kB / 0.8804 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.006887, allocations: 116.1 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.032e-06/0.006888, allocations: 0 / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005303/0.007418, allocations: 302.8 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.007502, allocations: 87.33 kB / 0.8809 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.007663, allocations: 190.6 kB / 0.8811 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.007717, allocations: 49.69 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.007793, allocations: 131 kB / 0.8813 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.007915, allocations: 111.3 kB / 0.8814 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.008055, allocations: 111.3 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003011/0.008356, allocations: 0.5196 MB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.008462, allocations: 52.62 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.008672, allocations: 154.3 kB / 0.8822 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.009021, allocations: 246.9 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.009024, allocations: 1.156 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004836/0.009507, allocations: 323.1 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.009522, allocations: 5.531 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.009531, allocations: 4 kB / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009544, allocations: 0 / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.009796, allocations: 68.16 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.009806, allocations: 8.094 kB / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.009881, allocations: 43.69 kB / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.009904, allocations: 15.97 kB / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0002069/0.01011, allocations: 216.4 kB / 0.8831 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.01013, allocations: 11.95 kB / 0.8831 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.01016, allocations: 13.3 kB / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01016, allocations: 0 / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.01016, allocations: 0 / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01017, allocations: 3.938 kB / 0.8831 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.01031, allocations: 132.2 kB / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01031, allocations: 3.984 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.01032, allocations: 0 / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01033, allocations: 4 kB / 0.8832 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.01033, allocations: 3.938 kB / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01033, allocations: 0 / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01033, allocations: 4 kB / 0.8832 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.01071, allocations: 286.7 kB / 0.8835 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.01074, allocations: 23.92 kB / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.01077, allocations: 19.98 kB / 0.8835 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.01079, allocations: 3.984 kB / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.01082, allocations: 7.938 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.01082, allocations: 0 / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.086e-05/0.01091, allocations: 127.1 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01091, allocations: 0 / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002749/0.01119, allocations: 51.92 kB / 0.8837 GB, free: 15.93 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: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005272/0.01171, allocations: 218.7 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.01204, allocations: 178 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01204, allocations: 320 / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.01212, allocations: 63.66 kB / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.01226, allocations: 4.688 kB / 0.8842 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.01267, allocations: 245.3 kB / 0.8844 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.876e-05/0.01277, allocations: 93.31 kB / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.0128, allocations: 12.64 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.01283, allocations: 16.5 kB / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.01283, allocations: 4 kB / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.00528/0.01811, allocations: 1.682 MB / 0.8862 GB, free: 13.4 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.466210936079733]