Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001559/0.001559, allocations: 111.3 kB / 17.08 MB, free: 6.012 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.001562/0.001563, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.889/2.889, allocations: 489.3 MB / 0.7687 GB, free: 3.848 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8951/0.897, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001966/0.899, allocations: 1.237 MB / 1.264 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.8998, allocations: 439.7 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.8998, allocations: 0 / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.396e-05/0.8999, allocations: 8.375 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.096e-05/0.8999, allocations: 5.484 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.9004, allocations: 115.8 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.9004, allocations: 27.45 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.9005, allocations: 3.047 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.9005, allocations: 14.97 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.9006, allocations: 11.09 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.9006, allocations: 9.703 kB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.9008, allocations: 105.4 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.9008, allocations: 26.98 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.9009, allocations: 29.92 kB / 1.265 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.9011, allocations: 134.1 kB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9011, allocations: 1.375 kB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9011, allocations: 0 / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.9011, allocations: 0.9375 kB / 1.265 GB, free: 6.672 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004083/0.9015, allocations: 457.2 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.9016, allocations: 14 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.9016, allocations: 13.78 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.85e-05/0.9017, allocations: 178.3 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.9018, allocations: 5.781 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.9018, allocations: 4.062 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.902, allocations: 148.5 kB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.902, allocations: 192 / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.902, allocations: 5.234 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.902, allocations: 0.6875 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.9021, allocations: 67.14 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.9023, allocations: 188.7 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.9024, allocations: 118.5 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.9025, allocations: 102.2 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.9025, allocations: 0 / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.9027, allocations: 183.9 kB / 1.266 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=38): time 1.172e-06/0.9027, allocations: 3.938 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.0006503/0.9034, allocations: 0.4942 MB / 1.267 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.9034, allocations: 87.45 kB / 1.267 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.9035, allocations: 123 kB / 1.267 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.9035, allocations: 55.77 kB / 1.267 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.9036, allocations: 87.28 kB / 1.267 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.9036, allocations: 98.34 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.9037, allocations: 91.8 kB / 1.267 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.9038, allocations: 338.3 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.904, allocations: 143.8 kB / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.9042, allocations: 220 kB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.9047, allocations: 416.1 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9047, allocations: 0 / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005387/0.9052, allocations: 446 kB / 1.269 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.9053, allocations: 10.22 kB / 1.269 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9053, allocations: 6.312 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9053, allocations: 2.844 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.9054, allocations: 22.34 kB / 1.269 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.9054, allocations: 7.469 kB / 1.269 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.9055, allocations: 35.47 kB / 1.269 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.9055, allocations: 12.88 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 41 * 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.0001347/0.9057, allocations: 182.8 kB / 1.269 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.9057, allocations: 14.53 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.9057, allocations: 8.406 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.9057, allocations: 0.875 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9057, allocations: 0 / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9057, allocations: 1.375 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.639e-05/0.9058, allocations: 192.4 kB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9058, allocations: 1.062 kB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.9059, allocations: 3.062 kB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.9059, allocations: 9.594 kB / 1.269 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.9059, allocations: 0.8125 kB / 1.269 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9059, allocations: 5.391 kB / 1.269 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.9059, allocations: 0 / 1.269 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.9064, allocations: 421.2 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.9064, allocations: 102 kB / 1.27 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.9065, allocations: 31.75 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.9065, allocations: 0 / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.9065, allocations: 3.438 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.9065, allocations: 3.156 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.9066, allocations: 89.25 kB / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9066, allocations: 0 / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003007/0.9069, allocations: 49.09 kB / 1.27 GB, free: 3.293 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 (5): * Single equations (assignments): 3 * 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.0003613/0.9072, allocations: 223.5 kB / 1.27 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004134/0.9077, allocations: 306.6 kB / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9077, allocations: 384 / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.9078, allocations: 122.1 kB / 1.27 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.9079, allocations: 2.422 kB / 1.27 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.9083, allocations: 330.1 kB / 1.271 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.9085, allocations: 0.7155 MB / 1.271 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.9085, allocations: 13.81 kB / 1.271 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9085, allocations: 0 / 1.271 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of Templates: time 0.004012/0.9125, allocations: 2.244 MB / 1.274 GB, free: 1.848 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 11.306948601035401]