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.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.001253/0.001253, allocations: 87.56 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001069/0.001069, allocations: 162 kB / 23.51 MB, free: 1.035 MB / 18.57 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 0.9527/0.9527, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.952/1.952, allocations: 390.1 MB / 0.6352 GB, free: 11.48 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.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 1.683e-06/1.683e-06, allocations: 0 / 0.827 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.378e-05, allocations: 7.484 kB / 0.827 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00216/0.002184, allocations: 1.248 MB / 0.8282 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000822/0.003006, allocations: 444.7 kB / 0.8287 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.003037, allocations: 0 / 0.8287 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.724e-05/0.003134, allocations: 3.984 kB / 0.8287 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.003161, allocations: 9.469 kB / 0.8287 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.003713, allocations: 123.5 kB / 0.8288 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.003796, allocations: 19.92 kB / 0.8288 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.003834, allocations: 4 kB / 0.8288 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.003878, allocations: 21.73 kB / 0.8288 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.00391, allocations: 11.97 kB / 0.8288 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.003925, allocations: 0 / 0.8288 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.0042, allocations: 151.6 kB / 0.829 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.004248, allocations: 23.92 kB / 0.829 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.004278, allocations: 10.69 kB / 0.829 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.004525, allocations: 155.4 kB / 0.8292 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004527, allocations: 0 / 0.8292 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004528, allocations: 0 / 0.8292 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.004532, allocations: 0 / 0.8292 GB, free: 13.2 MB / 0.7917 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.0005101/0.005042, allocations: 376.3 kB / 0.8295 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.005084, allocations: 8.031 kB / 0.8295 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.005187, allocations: 21.56 kB / 0.8296 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.005293, allocations: 122.1 kB / 0.8297 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.005312, allocations: 4.375 kB / 0.8297 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.005328, allocations: 9.953 kB / 0.8297 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.005512, allocations: 143.5 kB / 0.8298 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.005523, allocations: 8.172 kB / 0.8298 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.005533, allocations: 4.312 kB / 0.8298 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005539, allocations: 0.9688 kB / 0.8298 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.00561, allocations: 71.86 kB / 0.8299 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.005755, allocations: 125.8 kB / 0.83 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.005865, allocations: 87.33 kB / 0.8301 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.005934, allocations: 66.02 kB / 0.8302 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.005947, allocations: 0 / 0.8302 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.006153, allocations: 177.3 kB / 0.8303 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=38): time 1.192e-06/0.006154, allocations: 0 / 0.8303 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=38): time 0.0005744/0.006729, allocations: 435.3 kB / 0.8308 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.006794, allocations: 87.31 kB / 0.8308 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.006883, allocations: 127.4 kB / 0.831 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.006929, allocations: 57.66 kB / 0.831 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.006968, allocations: 88.8 kB / 0.8311 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.007053, allocations: 95.31 kB / 0.8312 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.007145, allocations: 93.66 kB / 0.8313 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.007296, allocations: 340.6 kB / 0.8316 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.007467, allocations: 136.6 kB / 0.8317 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.007678, allocations: 214.1 kB / 0.8319 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.008116, allocations: 420.6 kB / 0.8323 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.00812, allocations: 0 / 0.8323 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005383/0.008658, allocations: 459.9 kB / 0.8328 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.008674, allocations: 8 kB / 0.8328 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.008681, allocations: 1.031 kB / 0.8328 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.008698, allocations: 4 kB / 0.8328 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.008802, allocations: 23.86 kB / 0.8328 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.008814, allocations: 14.3 kB / 0.8328 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.00908, allocations: 39.69 kB / 0.8329 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.009098, allocations: 8 kB / 0.8329 GB, free: 9.203 MB / 0.7917 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.0001538/0.009252, allocations: 183.3 kB / 0.8331 GB, free: 9.023 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.009268, allocations: 9.234 kB / 0.8331 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.009295, allocations: 9.625 kB / 0.8331 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009297, allocations: 0 / 0.8331 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.009302, allocations: 7.281 kB / 0.8331 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009307, allocations: 3.938 kB / 0.8331 GB, free: 9 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.009404, allocations: 121.5 kB / 0.8332 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009405, allocations: 3.938 kB / 0.8332 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.009425, allocations: 8 kB / 0.8332 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.009427, allocations: 0 / 0.8332 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.009434, allocations: 0 / 0.8332 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.009435, allocations: 0 / 0.8332 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.009439, allocations: 7.922 kB / 0.8332 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.009872, allocations: 344 kB / 0.8335 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.009886, allocations: 15.84 kB / 0.8336 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.009915, allocations: 23.98 kB / 0.8336 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.009932, allocations: 0 / 0.8336 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.009959, allocations: 7.984 kB / 0.8336 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.009965, allocations: 0 / 0.8336 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.01, allocations: 87.22 kB / 0.8337 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01, allocations: 4.969 kB / 0.8337 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002665/0.01027, allocations: 55.86 kB / 0.8337 GB, free: 8.289 MB / 0.7917 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.0003045/0.01057, allocations: 227.5 kB / 0.8339 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01083, allocations: 274.1 kB / 0.8342 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01083, allocations: 0 / 0.8342 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.01089, allocations: 80.44 kB / 0.8343 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.011, allocations: 12.5 kB / 0.8343 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.01131, allocations: 300.8 kB / 0.8346 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.209e-05/0.01138, allocations: 98.38 kB / 0.8347 GB, free: 7.293 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.01141, allocations: 21.14 kB / 0.8347 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.01143, allocations: 16.5 kB / 0.8347 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of SimCode: time 6.21e-07/0.01143, allocations: 0 / 0.8347 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of Templates: time 0.003195/0.01462, allocations: 1.778 MB / 0.8365 GB, free: 5.504 MB / 0.7917 GB " [Timeout remaining time 300] 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 -s cvode -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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 5.215239897370338]