Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001541/0.001541, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001668/0.001668, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.807/2.807, allocations: 0.49 GB / 0.7922 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.91 kB / 1.15 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8533, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001908/0.8552, allocations: 1.253 MB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007043/0.8559, allocations: 475.1 kB / 1.324 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.856, allocations: 0 / 1.324 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.561e-05/0.8561, allocations: 3.938 kB / 1.324 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.259e-05/0.8561, allocations: 6.781 kB / 1.324 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.8565, allocations: 109.7 kB / 1.324 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.8566, allocations: 22.3 kB / 1.324 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.8566, allocations: 4 kB / 1.324 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.8566, allocations: 19.3 kB / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.834e-05/0.8566, allocations: 14.11 kB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.8566, allocations: 3 kB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.8568, allocations: 124.8 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.8569, allocations: 25.19 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.8569, allocations: 28.78 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.8571, allocations: 135.7 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8571, allocations: 3.25 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8571, allocations: 0 / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.8571, allocations: 0 / 1.324 GB, free: 23.88 MB / 1.061 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.0003871/0.8575, allocations: 460.7 kB / 1.325 GB, free: 23.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.8575, allocations: 22.61 kB / 1.325 GB, free: 23.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.8576, allocations: 11.41 kB / 1.325 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.657e-05/0.8577, allocations: 181.2 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.8577, allocations: 4.375 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.8577, allocations: 3.188 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.8578, allocations: 146.3 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8578, allocations: 192 / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.8578, allocations: 7.938 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8579, allocations: 0 / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.8579, allocations: 63.97 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.858, allocations: 188.9 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.8581, allocations: 94.38 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.8582, allocations: 72.73 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.8582, allocations: 0 / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.8583, allocations: 181.9 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=38): time 1.182e-06/0.8583, allocations: 0 / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=38): time 0.0004959/0.8588, allocations: 0.4938 MB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.8589, allocations: 92.48 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.8589, allocations: 125.4 kB / 1.326 GB, free: 22.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.859, allocations: 50.02 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.859, allocations: 81.83 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.8591, allocations: 103.6 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.8592, allocations: 90.84 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.8592, allocations: 340.1 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.8594, allocations: 142.2 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.8596, allocations: 213.8 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.8601, allocations: 415 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8601, allocations: 0.875 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005591/0.8606, allocations: 449.2 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8607, allocations: 10.03 kB / 1.328 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.8607, allocations: 1.312 kB / 1.328 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.8607, allocations: 3.406 kB / 1.328 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.8608, allocations: 18.67 kB / 1.328 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.8608, allocations: 3.094 kB / 1.328 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.8609, allocations: 39.27 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.8609, allocations: 9.094 kB / 1.328 GB, free: 21.32 MB / 1.061 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.0001389/0.861, allocations: 186.7 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.8611, allocations: 15.56 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.8611, allocations: 9.625 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.8611, allocations: 8.219 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.8611, allocations: 0 / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.8611, allocations: 0.5312 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.682e-05/0.8612, allocations: 191.3 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8612, allocations: 0.875 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.8612, allocations: 6.266 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8612, allocations: 8.75 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.8612, allocations: 0.9375 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8612, allocations: 0.8125 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8612, allocations: 0 / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.8617, allocations: 425.9 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.8617, allocations: 93.77 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.8618, allocations: 27.09 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.8618, allocations: 0 / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.8618, allocations: 5.656 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.8618, allocations: 1.469 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.8618, allocations: 84.19 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8618, allocations: 0 / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002911/0.8621, allocations: 62.77 kB / 1.329 GB, free: 20.55 MB / 1.061 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.0004095/0.8625, allocations: 206.1 kB / 1.329 GB, free: 20.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.8629, allocations: 279 kB / 1.33 GB, free: 20.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8629, allocations: 1.406 kB / 1.33 GB, free: 20.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.863, allocations: 73.8 kB / 1.33 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.8631, allocations: 9 kB / 1.33 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.8635, allocations: 320.9 kB / 1.33 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.8636, allocations: 0.7234 MB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.8636, allocations: 13.97 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.8636, allocations: 0 / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of Templates: time 0.004743/0.8684, allocations: 2.278 MB / 1.333 GB, free: 19.18 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.704252067997004]