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.001413/0.001413, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00157/0.00157, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.88/2.88, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.596e-05, allocations: 2.859 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.004111/0.004147, allocations: 1.245 MB / 0.812 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.005741, allocations: 454.3 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.00578, allocations: 0 / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.005893, allocations: 7.938 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.005928, allocations: 2.312 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.006785, allocations: 120.1 kB / 0.8125 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.006894, allocations: 24.48 kB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.00694, allocations: 4.922 kB / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.007005, allocations: 15.98 kB / 0.8126 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.007051, allocations: 9.141 kB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.007073, allocations: 4 kB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.007577, allocations: 147.5 kB / 0.8127 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.007648, allocations: 28.56 kB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.007704, allocations: 11.94 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.008148, allocations: 152.4 kB / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.008152, allocations: 0 / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.008153, allocations: 3.938 kB / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.00816, allocations: 0.7812 kB / 0.8129 GB, free: 14.78 MB / 0.7292 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.000861/0.009021, allocations: 382 kB / 0.8133 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.00907, allocations: 8.031 kB / 0.8133 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.009235, allocations: 16.88 kB / 0.8133 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.009426, allocations: 125.6 kB / 0.8134 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.00945, allocations: 384 / 0.8134 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.009466, allocations: 5.906 kB / 0.8134 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.009784, allocations: 150.1 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.009797, allocations: 192 / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.009811, allocations: 384 / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.009817, allocations: 1.344 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.009952, allocations: 63.92 kB / 0.8136 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.01023, allocations: 129.2 kB / 0.8138 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.01043, allocations: 83.11 kB / 0.8139 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.01058, allocations: 70.48 kB / 0.8139 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.01059, allocations: 4 kB / 0.8139 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.01102, allocations: 184 kB / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 1.493e-06/0.01102, allocations: 0 / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0009955/0.01201, allocations: 422.8 kB / 0.8145 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.01215, allocations: 95.31 kB / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.01232, allocations: 121.7 kB / 0.8147 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.334e-05/0.01242, allocations: 53.69 kB / 0.8148 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.0125, allocations: 80.8 kB / 0.8148 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.01267, allocations: 103.8 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.01287, allocations: 90.39 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002692/0.01314, allocations: 334.8 kB / 0.8153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.01348, allocations: 149 kB / 0.8155 GB, free: 12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.01392, allocations: 218 kB / 0.8157 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.01478, allocations: 412.4 kB / 0.8161 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.01478, allocations: 4.688 kB / 0.8161 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001073/0.01586, allocations: 464 kB / 0.8165 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.01589, allocations: 4 kB / 0.8165 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.0159, allocations: 5.375 kB / 0.8165 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.01593, allocations: 0 / 0.8165 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.01612, allocations: 23.92 kB / 0.8166 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.01613, allocations: 9.688 kB / 0.8166 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.01628, allocations: 35.72 kB / 0.8166 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.01632, allocations: 12 kB / 0.8166 GB, free: 10.8 MB / 0.7292 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.000315/0.01663, allocations: 185 kB / 0.8168 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.01667, allocations: 12.22 kB / 0.8168 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.01672, allocations: 9.625 kB / 0.8168 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.01672, allocations: 0 / 0.8168 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.01673, allocations: 5.375 kB / 0.8168 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.01674, allocations: 7.875 kB / 0.8168 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.01696, allocations: 121.2 kB / 0.8169 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01696, allocations: 0 / 0.8169 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.01699, allocations: 4.625 kB / 0.8169 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.017, allocations: 0 / 0.8169 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.01702, allocations: 8.484 kB / 0.817 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01702, allocations: 0.5625 kB / 0.817 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01702, allocations: 0 / 0.817 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.01775, allocations: 337.4 kB / 0.8173 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.01778, allocations: 19.88 kB / 0.8173 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/0.01784, allocations: 29.2 kB / 0.8173 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.01788, allocations: 0 / 0.8173 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01792, allocations: 3.984 kB / 0.8173 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.01793, allocations: 4.812 kB / 0.8173 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.695e-05/0.01802, allocations: 87.2 kB / 0.8174 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01802, allocations: 4.875 kB / 0.8174 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000576/0.01859, allocations: 55.88 kB / 0.8175 GB, free: 9.875 MB / 0.7292 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.0007728/0.01937, allocations: 232.7 kB / 0.8177 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006773/0.02004, allocations: 275.4 kB / 0.818 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02005, allocations: 0 / 0.818 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.0202, allocations: 75.97 kB / 0.818 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.02047, allocations: 9 kB / 0.818 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.02122, allocations: 312.6 kB / 0.8183 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.02138, allocations: 98.47 kB / 0.8184 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.02145, allocations: 18.3 kB / 0.8185 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.0215, allocations: 17 kB / 0.8185 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.0215, allocations: 0 / 0.8185 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of Templates: time 0.008102/0.0296, allocations: 1.784 MB / 0.8202 GB, free: 7.086 MB / 0.7292 GB " [Timeout remaining time 300] 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/jenkins/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: 7.836367793963291]