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.0009679/0.0009679, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001065/0.001065, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9302/0.9302, allocations: 177.1 MB / 204.5 MB, free: 5.504 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 2.014/2.014, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 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.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.854e-06/1.854e-06, allocations: 0 / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.306e-05, allocations: 8.906 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.00194/0.001963, allocations: 1.272 MB / 0.8806 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.002781, allocations: 444.9 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.002827, allocations: 0.875 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.002948, allocations: 8.875 kB / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.002981, allocations: 5.094 kB / 0.881 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.003603, allocations: 118.2 kB / 0.8812 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.003692, allocations: 19.91 kB / 0.8812 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.003739, allocations: 7.984 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/0.00413, allocations: 13.06 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.005e-05/0.00416, allocations: 7.984 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.004178, allocations: 5.125 kB / 0.8812 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.004433, allocations: 139.7 kB / 0.8813 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.004487, allocations: 27.91 kB / 0.8814 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.004511, allocations: 8.906 kB / 0.8814 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.004705, allocations: 147.4 kB / 0.8815 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004707, allocations: 4 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004708, allocations: 0.6562 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.004713, allocations: 0 / 0.8815 GB, free: 3.855 MB / 0.8386 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.0004406/0.005153, allocations: 475.3 kB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.00519, allocations: 9.281 kB / 0.882 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.005281, allocations: 12.84 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.005392, allocations: 124.5 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.005413, allocations: 4.375 kB / 0.8821 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.005423, allocations: 5.141 kB / 0.8821 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.005528, allocations: 85.78 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.005536, allocations: 0.75 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.005544, allocations: 1.469 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.00555, allocations: 384 / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.005574, allocations: 23.94 kB / 0.8822 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.00569, allocations: 125.7 kB / 0.8823 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.873e-05/0.005748, allocations: 47.84 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.005777, allocations: 32.31 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.005782, allocations: 0.9375 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.005896, allocations: 116.1 kB / 0.8825 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 9.02e-07/0.005897, allocations: 3.938 kB / 0.8825 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0003389/0.006236, allocations: 293.9 kB / 0.8828 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.00629, allocations: 87.08 kB / 0.8829 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006396, allocations: 181.8 kB / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.006425, allocations: 49.69 kB / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.006471, allocations: 131.5 kB / 0.8832 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.006544, allocations: 103.3 kB / 0.8833 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.006625, allocations: 103.3 kB / 0.8834 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.00677, allocations: 0.5195 MB / 0.884 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.006814, allocations: 45.31 kB / 0.884 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.00691, allocations: 138.2 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.00708, allocations: 220.6 kB / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007083, allocations: 0 / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002601/0.007343, allocations: 296.6 kB / 0.8846 GB, free: 444 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.007356, allocations: 8.156 kB / 0.8846 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.007362, allocations: 4 kB / 0.8846 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.007375, allocations: 4 kB / 0.8846 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.007529, allocations: 67.91 kB / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.007535, allocations: 7.938 kB / 0.8847 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.00758, allocations: 39.61 kB / 0.8847 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.007592, allocations: 8 kB / 0.8848 GB, free: 304 kB / 0.8386 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.0001354/0.007727, allocations: 216.5 kB / 0.885 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.00774, allocations: 11.91 kB / 0.885 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.007766, allocations: 9.312 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007769, allocations: 4 kB / 0.885 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.007773, allocations: 4.234 kB / 0.885 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007777, allocations: 0 / 0.885 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.007877, allocations: 117 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007879, allocations: 0 / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.007887, allocations: 4 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007889, allocations: 0 / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.007896, allocations: 4 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.007898, allocations: 3.984 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0079, allocations: 0 / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.00814, allocations: 285.7 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.008154, allocations: 15.84 kB / 0.8854 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.008179, allocations: 27.92 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.008189, allocations: 0 / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.008212, allocations: 3.984 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.008217, allocations: 0 / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.008265, allocations: 127.2 kB / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008265, allocations: 0 / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002415/0.008507, allocations: 55.92 kB / 0.8856 GB, free: 15.37 MB / 0.8542 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.0003478/0.008855, allocations: 225.6 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.009047, allocations: 162.5 kB / 0.886 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009048, allocations: 0 / 0.886 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.009086, allocations: 43.67 kB / 0.886 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.0092, allocations: 11.94 kB / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.00949, allocations: 241 kB / 0.8863 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.009532, allocations: 76.14 kB / 0.8863 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.009561, allocations: 16.64 kB / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.009604, allocations: 78.2 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.009604, allocations: 3.938 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.003995/0.0136, allocations: 1.916 MB / 0.8883 GB, free: 12.58 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","",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.556748593226075]