Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001571/0.001571, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001666/0.001666, allocations: 165.7 kB / 22.45 MB, free: 5.375 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.542/1.542, allocations: 177.1 MB / 202.8 MB, free: 9.172 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 3.017/3.017, allocations: 389 MB / 0.633 GB, free: 1.027 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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 1 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.471e-05, allocations: 6.219 kB / 1 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002626/0.002651, allocations: 1.257 MB / 1.001 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003711, allocations: 430.4 kB / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.003749, allocations: 0 / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.565e-05/0.003834, allocations: 7.922 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.815e-05/0.003863, allocations: 3.938 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.004512, allocations: 115.5 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.004607, allocations: 23.92 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.004648, allocations: 7.984 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.004689, allocations: 11.98 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.004727, allocations: 11.92 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.004743, allocations: 0 / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.005066, allocations: 139.7 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.005112, allocations: 23.92 kB / 1.002 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.005145, allocations: 15.92 kB / 1.002 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.005421, allocations: 139.6 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005423, allocations: 0 / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005424, allocations: 0 / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.005427, allocations: 4 kB / 1.002 GB, free: 5.172 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.0005504/0.005978, allocations: 380.3 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.006014, allocations: 8.031 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.006102, allocations: 12.83 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.006224, allocations: 113.7 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.006247, allocations: 12.3 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.00626, allocations: 384 / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.006464, allocations: 146.1 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006473, allocations: 192 / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.006482, allocations: 4.312 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.006486, allocations: 4.375 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.006566, allocations: 67.91 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.006719, allocations: 117.2 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.006835, allocations: 86.55 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.00692, allocations: 77.41 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.006931, allocations: 0 / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.007162, allocations: 167.4 kB / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.007163, allocations: 0 / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.0005887/0.007752, allocations: 405.8 kB / 1.004 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.007824, allocations: 95.3 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.007933, allocations: 129.7 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.007982, allocations: 49.67 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.008043, allocations: 84.8 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.76e-05/0.008141, allocations: 95.36 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.008261, allocations: 93.67 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.008428, allocations: 334.8 kB / 1.005 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.008629, allocations: 140.6 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.008883, allocations: 213.2 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.009421, allocations: 409.3 kB / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.009427, allocations: 4 kB / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006078/0.01003, allocations: 434.5 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01005, allocations: 4 kB / 1.006 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.01007, allocations: 7.984 kB / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.01009, allocations: 8.156 kB / 1.006 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.01023, allocations: 19.88 kB / 1.006 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.01024, allocations: 7.938 kB / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.01033, allocations: 35.67 kB / 1.006 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.01035, allocations: 12 kB / 1.006 GB, free: 1.254 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.0001981/0.01055, allocations: 182.3 kB / 1.006 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.01057, allocations: 7.906 kB / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.0106, allocations: 13.3 kB / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.0106, allocations: 0 / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.0106, allocations: 0 / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01061, allocations: 3.984 kB / 1.006 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.01075, allocations: 128.9 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01075, allocations: 0 / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.01077, allocations: 4 kB / 1.006 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01077, allocations: 0 / 1.006 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01078, allocations: 4 kB / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01078, allocations: 0 / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01078, allocations: 0 / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.01123, allocations: 344.1 kB / 1.006 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.01126, allocations: 15.83 kB / 1.006 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.0113, allocations: 23.98 kB / 1.007 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.01132, allocations: 0 / 1.007 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.01135, allocations: 0 / 1.007 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01136, allocations: 4 kB / 1.007 GB, free: 488 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.01143, allocations: 91.2 kB / 1.007 GB, free: 396 kB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01143, allocations: 0 / 1.007 GB, free: 396 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000296/0.01172, allocations: 51.94 kB / 1.007 GB, free: 344 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.0004876/0.01221, allocations: 232.8 kB / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.01264, allocations: 265.2 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01264, allocations: 4.062 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.01273, allocations: 75.97 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.0001578/0.01289, allocations: 3.938 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.0004652/0.01335, allocations: 279.7 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.01347, allocations: 109.1 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.01351, allocations: 20.64 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.01354, allocations: 12.5 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.01354, allocations: 0 / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.00545/0.01899, allocations: 1.713 MB / 1.009 GB, free: 13.63 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.418939352035522]