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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 106.9 kB / 17.08 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 194.7 kB / 20.03 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 490 MB / 0.7695 GB, free: 3.105 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.002097/0.002097, allocations: 67.88 kB / 1.104 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8405/0.8427, allocations: 164 MB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002324/0.845, allocations: 1.232 MB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008248/0.8459, allocations: 404.2 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.8459, allocations: 0.875 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.068e-05/0.846, allocations: 3.938 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.214e-05/0.846, allocations: 1.375 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.8465, allocations: 109.9 kB / 1.266 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.8466, allocations: 22.58 kB / 1.266 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.8467, allocations: 1.891 kB / 1.266 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.8467, allocations: 11.27 kB / 1.266 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.8467, allocations: 17.66 kB / 1.266 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.8468, allocations: 0.7812 kB / 1.266 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.847, allocations: 100.4 kB / 1.266 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.847, allocations: 22.7 kB / 1.266 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.8471, allocations: 29.34 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.8473, allocations: 137.4 kB / 1.266 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8473, allocations: 0 / 1.266 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8473, allocations: 2.047 kB / 1.266 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.8474, allocations: 0 / 1.266 GB, free: 6.012 MB / 0.9981 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.00041/0.8478, allocations: 454.8 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.8478, allocations: 13.31 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.8479, allocations: 11.22 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.848, allocations: 176.9 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.848, allocations: 2.078 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.8481, allocations: 7.344 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.8483, allocations: 138.7 kB / 1.267 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8483, allocations: 192 / 1.267 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.8483, allocations: 5.188 kB / 1.267 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8483, allocations: 4.703 kB / 1.267 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.8484, allocations: 64.64 kB / 1.267 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.8485, allocations: 192.5 kB / 1.267 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.8487, allocations: 116.9 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.8488, allocations: 97.03 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.8488, allocations: 0.7969 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.8491, allocations: 183.8 kB / 1.267 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.272e-06/0.8491, allocations: 0 / 1.267 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.0006775/0.8497, allocations: 490 kB / 1.268 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.8498, allocations: 87.78 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.8499, allocations: 121.2 kB / 1.268 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.8499, allocations: 55.61 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.85, allocations: 82.61 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.85, allocations: 97.8 kB / 1.268 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.8502, allocations: 91.56 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.8502, allocations: 338.1 kB / 1.269 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.8505, allocations: 143.5 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.8507, allocations: 209.7 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.8512, allocations: 400.5 kB / 1.269 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8512, allocations: 1.25 kB / 1.269 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005557/0.8518, allocations: 437.5 kB / 1.27 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8518, allocations: 9 kB / 1.27 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8518, allocations: 10.05 kB / 1.27 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.8519, allocations: 3.531 kB / 1.27 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.852, allocations: 19.55 kB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.852, allocations: 3.859 kB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.8521, allocations: 34.95 kB / 1.27 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.8521, allocations: 13.02 kB / 1.27 GB, free: 3.449 MB / 0.9981 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.0001554/0.8523, allocations: 188.4 kB / 1.27 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.8523, allocations: 19.83 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.8523, allocations: 9.875 kB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8523, allocations: 1.125 kB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8523, allocations: 1.766 kB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8523, allocations: 256 / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.8524, allocations: 184.1 kB / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8525, allocations: 4 kB / 1.27 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.8525, allocations: 7 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.8525, allocations: 3.938 kB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.8525, allocations: 2.078 kB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.8525, allocations: 0.75 kB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8525, allocations: 0 / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.853, allocations: 406.6 kB / 1.271 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.8531, allocations: 94.41 kB / 1.271 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.8531, allocations: 27.14 kB / 1.271 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.765e-05/0.8532, allocations: 4.516 kB / 1.271 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.8532, allocations: 2.172 kB / 1.271 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.8532, allocations: 6.75 kB / 1.271 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.8532, allocations: 88.31 kB / 1.271 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8532, allocations: 0 / 1.271 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003362/0.8536, allocations: 50.88 kB / 1.271 GB, free: 2.699 MB / 0.9981 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.000438/0.854, allocations: 211.7 kB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.8545, allocations: 311.6 kB / 1.271 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.8545, allocations: 1.281 kB / 1.271 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.8546, allocations: 105.8 kB / 1.271 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.8547, allocations: 9.109 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.8552, allocations: 318 kB / 1.272 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.8554, allocations: 0.7128 MB / 1.272 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.8554, allocations: 13.78 kB / 1.272 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.8554, allocations: 0.5312 kB / 1.272 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of Templates: time 0.004443/0.8598, allocations: 2.174 MB / 1.275 GB, free: 1.273 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.22706161707174]