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.00137/0.00137, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001593/0.001593, allocations: 166.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.892/2.892, allocations: 389 MB / 0.633 GB, free: 0.957 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.472e-06/1.472e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.911e-05, allocations: 6.219 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002459/0.002488, allocations: 1.245 MB / 1.001 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.003425, allocations: 414.5 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.003456, allocations: 0 / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.768e-05/0.003544, allocations: 3.938 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.501e-05/0.003569, allocations: 3.938 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.004146, allocations: 107.6 kB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.004226, allocations: 19.92 kB / 1.002 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.004269, allocations: 11.97 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.004314, allocations: 12 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.004344, allocations: 7.922 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.004359, allocations: 4 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.004658, allocations: 131.7 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.004708, allocations: 23.92 kB / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.004738, allocations: 7.938 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.005009, allocations: 143.4 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.005015, allocations: 4 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.52e-07/0.005016, allocations: 4 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.00502, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 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.0005188/0.005538, allocations: 368.4 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.005573, allocations: 8.031 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.005669, allocations: 12.88 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.005793, allocations: 129.5 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.005812, allocations: 4.375 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.005821, allocations: 384 / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.006029, allocations: 142.1 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.006038, allocations: 192 / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.006047, allocations: 4.312 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.006055, allocations: 8.359 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.402e-05/0.006139, allocations: 71.91 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.00629, allocations: 117.2 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.006406, allocations: 82.5 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.006484, allocations: 69.47 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.006496, allocations: 0 / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.006752, allocations: 171.4 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.182e-06/0.006753, allocations: 0 / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.0005475/0.007301, allocations: 405.8 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.007398, allocations: 95.36 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007499, allocations: 133.7 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.007551, allocations: 49.69 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.0076, allocations: 84.8 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.007695, allocations: 103.2 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.007801, allocations: 89.67 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.007955, allocations: 338.8 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.00814, allocations: 136.6 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.008386, allocations: 221 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.00907, allocations: 405.3 kB / 1.005 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.009073, allocations: 3.938 kB / 1.005 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006756/0.009749, allocations: 438.5 kB / 1.006 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.009766, allocations: 8 kB / 1.006 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.009773, allocations: 0 / 1.006 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.009791, allocations: 4 kB / 1.006 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.009901, allocations: 16.09 kB / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.009914, allocations: 15.92 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.009979, allocations: 31.73 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.009997, allocations: 12 kB / 1.006 GB, free: 1.242 MB / 0.9512 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.0001862/0.01018, allocations: 178.2 kB / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.0102, allocations: 15.91 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.01023, allocations: 9.312 kB / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.01023, allocations: 0 / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01024, allocations: 0 / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01024, allocations: 3.938 kB / 1.006 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.01037, allocations: 120.9 kB / 1.006 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01037, allocations: 0 / 1.006 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.01038, allocations: 4 kB / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01038, allocations: 0 / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.01039, allocations: 0 / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01039, allocations: 0 / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01039, allocations: 4 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.01079, allocations: 344.1 kB / 1.006 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.01081, allocations: 11.89 kB / 1.006 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.01084, allocations: 27.98 kB / 1.006 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.01086, allocations: 0 / 1.006 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.01088, allocations: 0 / 1.006 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.01089, allocations: 4 kB / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.01094, allocations: 91.45 kB / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01094, allocations: 0 / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002923/0.01123, allocations: 51.88 kB / 1.007 GB, free: 340 kB / 0.9512 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.0004859/0.01172, allocations: 232.8 kB / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.01211, allocations: 261 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.01211, allocations: 4.312 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.01219, allocations: 79.91 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.01234, allocations: 5.719 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.01279, allocations: 287.6 kB / 1.007 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.364e-05/0.01288, allocations: 101.2 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.01292, allocations: 16.64 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.01295, allocations: 16.5 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.01295, allocations: 4 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.004921/0.01787, allocations: 1.657 MB / 1.009 GB, free: 13.68 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 800] 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.277848813682795]