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.001415/0.001415, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001813/0.001813, allocations: 163.1 kB / 22.46 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.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.148 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 2.93/2.93, allocations: 389 MB / 0.633 GB, free: 1.004 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.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 2.144e-06/2.144e-06, allocations: 0 / 1 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.834e-05/4.049e-05, allocations: 2.281 kB / 1 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.003918/0.003959, allocations: 1.257 MB / 1.001 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.005288, allocations: 446.4 kB / 1.002 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.005348, allocations: 4 kB / 1.002 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.226e-05/0.00544, allocations: 0 / 1.002 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.636e-05/0.005477, allocations: 7.875 kB / 1.002 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.006277, allocations: 123.5 kB / 1.002 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.006381, allocations: 19.92 kB / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.813e-05/0.006439, allocations: 4 kB / 1.002 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.006499, allocations: 23.91 kB / 1.002 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.006544, allocations: 7.984 kB / 1.002 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.006563, allocations: 0 / 1.002 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.006989, allocations: 151.6 kB / 1.002 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.007057, allocations: 27.92 kB / 1.002 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.007102, allocations: 11.88 kB / 1.002 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.007499, allocations: 147.5 kB / 1.002 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007502, allocations: 0 / 1.002 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.953e-06/0.007504, allocations: 0 / 1.002 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.007517, allocations: 0 / 1.002 GB, free: 4.012 MB / 0.9044 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.0007422/0.008259, allocations: 384.3 kB / 1.003 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.008304, allocations: 8.031 kB / 1.003 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.008442, allocations: 12.84 kB / 1.003 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.008611, allocations: 129.6 kB / 1.003 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.008629, allocations: 4.375 kB / 1.003 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.008655, allocations: 12.31 kB / 1.003 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.00893, allocations: 142.2 kB / 1.003 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.008943, allocations: 192 / 1.003 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.008965, allocations: 8.359 kB / 1.003 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.008971, allocations: 384 / 1.003 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.009105, allocations: 71.61 kB / 1.003 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.009324, allocations: 125.2 kB / 1.003 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.009461, allocations: 82.55 kB / 1.003 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.009555, allocations: 72.83 kB / 1.003 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.009563, allocations: 4 kB / 1.003 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.009878, allocations: 175.3 kB / 1.003 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=38): time 1.413e-06/0.009879, allocations: 0 / 1.003 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38): time 0.0006258/0.0105, allocations: 421.5 kB / 1.004 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.01059, allocations: 91.11 kB / 1.004 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.01071, allocations: 125.7 kB / 1.004 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.01077, allocations: 53.67 kB / 1.004 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.01084, allocations: 88.8 kB / 1.004 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.01096, allocations: 99.25 kB / 1.004 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.01109, allocations: 97.67 kB / 1.004 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01127, allocations: 334.8 kB / 1.005 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.01149, allocations: 144.6 kB / 1.005 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.01175, allocations: 213.9 kB / 1.005 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.01228, allocations: 414.1 kB / 1.005 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01229, allocations: 0 / 1.005 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000669/0.01295, allocations: 450.5 kB / 1.006 GB, free: 108 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.01298, allocations: 8 kB / 1.006 GB, free: 100 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01298, allocations: 0 / 1.006 GB, free: 100 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.01301, allocations: 4 kB / 1.006 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.01313, allocations: 23.92 kB / 1.006 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.01314, allocations: 7.938 kB / 1.006 GB, free: 64 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.01323, allocations: 31.73 kB / 1.006 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.01325, allocations: 12 kB / 1.006 GB, free: 20 kB / 0.9044 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.0002476/0.0135, allocations: 191 kB / 1.006 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.01352, allocations: 11.91 kB / 1.006 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.01355, allocations: 5.625 kB / 1.006 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.01356, allocations: 3.984 kB / 1.006 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01356, allocations: 4.312 kB / 1.006 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.01357, allocations: 11.88 kB / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.01372, allocations: 125.2 kB / 1.006 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01372, allocations: 0 / 1.006 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.01375, allocations: 4 kB / 1.006 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01375, allocations: 0 / 1.006 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.01376, allocations: 0 / 1.006 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01376, allocations: 0 / 1.006 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01376, allocations: 0 / 1.006 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.01423, allocations: 350 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.01426, allocations: 15.84 kB / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.0143, allocations: 31.92 kB / 1.007 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.01432, allocations: 0 / 1.007 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.01435, allocations: 11.92 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.01436, allocations: 4 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.01441, allocations: 83.22 kB / 1.007 GB, free: 15.13 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01441, allocations: 0 / 1.007 GB, free: 15.13 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003467/0.01476, allocations: 59.86 kB / 1.007 GB, free: 15.07 MB / 0.92 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.0005749/0.01533, allocations: 230.5 kB / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.01578, allocations: 265 kB / 1.007 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.01579, allocations: 4 kB / 1.007 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.0159, allocations: 75.97 kB / 1.007 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.01607, allocations: 7.938 kB / 1.007 GB, free: 14.51 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.01663, allocations: 299.8 kB / 1.008 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.01677, allocations: 105.8 kB / 1.008 GB, free: 14.06 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.01681, allocations: 17.14 kB / 1.008 GB, free: 14.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.01684, allocations: 12.5 kB / 1.008 GB, free: 14.03 MB / 0.92 GB Notification: Performance of SimCode: time 7.41e-07/0.01684, allocations: 3.938 kB / 1.008 GB, free: 14.03 MB / 0.92 GB Notification: Performance of Templates: time 0.005887/0.02273, allocations: 1.768 MB / 1.009 GB, free: 12.28 MB / 0.92 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 -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: 8.365280091762543]