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.001797/0.001797, allocations: 73.97 kB / 20.65 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.001957/0.001957, allocations: 169 kB / 24.06 MB, free: 452 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 1.097/1.097, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.414/2.414, allocations: 429.5 MB / 0.6743 GB, free: 3.941 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.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.543e-06/1.543e-06, allocations: 0 / 0.8793 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.668e-05, allocations: 5.125 kB / 0.8794 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001704/0.00173, allocations: 1.289 MB / 0.8806 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.002416, allocations: 461.3 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.002455, allocations: 0 / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.002555, allocations: 8.25 kB / 0.8811 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.433e-05/0.002579, allocations: 3.938 kB / 0.8811 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.003, allocations: 116.4 kB / 0.8812 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.056e-05/0.003071, allocations: 27.91 kB / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.003107, allocations: 5.031 kB / 0.8812 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.003144, allocations: 19.92 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.00317, allocations: 9.109 kB / 0.8812 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.003183, allocations: 0 / 0.8812 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.003386, allocations: 143.7 kB / 0.8814 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.003431, allocations: 28.94 kB / 0.8814 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.003454, allocations: 15.88 kB / 0.8814 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.003627, allocations: 151.5 kB / 0.8816 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003629, allocations: 1.031 kB / 0.8816 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003629, allocations: 0 / 0.8816 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003633, allocations: 0 / 0.8816 GB, free: 3.871 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003979/0.004031, allocations: 487.1 kB / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.004065, allocations: 8.625 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.004138, allocations: 16.84 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.004227, allocations: 125.2 kB / 0.8822 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.004242, allocations: 384 / 0.8822 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.004251, allocations: 13.22 kB / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.509e-05/0.004346, allocations: 86.45 kB / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004353, allocations: 1.062 kB / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.004366, allocations: 384 / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004371, allocations: 384 / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.004397, allocations: 29.02 kB / 0.8823 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.004506, allocations: 113.1 kB / 0.8824 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.004561, allocations: 52.58 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.004588, allocations: 31.69 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.004593, allocations: 0 / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.004696, allocations: 116.9 kB / 0.8826 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 1.753e-06/0.004697, allocations: 3.984 kB / 0.8826 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38): time 0.000325/0.005022, allocations: 311.9 kB / 0.8829 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.005076, allocations: 87.31 kB / 0.883 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.005177, allocations: 193.6 kB / 0.8832 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.005206, allocations: 49.69 kB / 0.8832 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.005254, allocations: 131.5 kB / 0.8833 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.005336, allocations: 99.33 kB / 0.8834 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.005416, allocations: 111.2 kB / 0.8835 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.00555, allocations: 0.5156 MB / 0.884 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.005591, allocations: 44.62 kB / 0.8841 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.005688, allocations: 153.9 kB / 0.8842 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.005855, allocations: 234.6 kB / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.005858, allocations: 0 / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002456/0.006103, allocations: 303 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.006116, allocations: 4 kB / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.006122, allocations: 4 kB / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.006132, allocations: 4 kB / 0.8847 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.00628, allocations: 72.09 kB / 0.8848 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.006292, allocations: 4 kB / 0.8848 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.006334, allocations: 43.59 kB / 0.8849 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.006345, allocations: 8 kB / 0.8849 GB, free: 224 kB / 0.8386 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.0001172/0.006463, allocations: 220.5 kB / 0.8851 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.006475, allocations: 15.84 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.006493, allocations: 9.562 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006495, allocations: 0 / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006497, allocations: 3.938 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.0065, allocations: 0 / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.429e-05/0.006574, allocations: 117 kB / 0.8852 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006575, allocations: 0 / 0.8852 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.006588, allocations: 7.984 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006589, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.006595, allocations: 4 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.006596, allocations: 4 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006596, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.006824, allocations: 288.7 kB / 0.8855 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.006837, allocations: 23.83 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.006856, allocations: 16 kB / 0.8855 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.006869, allocations: 3.984 kB / 0.8856 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.006885, allocations: 7.938 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.006888, allocations: 0 / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.006924, allocations: 135.2 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006924, allocations: 0 / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001891/0.007113, allocations: 47.94 kB / 0.8857 GB, free: 15.28 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 (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.0003015/0.007414, allocations: 224.2 kB / 0.8859 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.007578, allocations: 166.6 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007579, allocations: 4.125 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.007615, allocations: 55.64 kB / 0.8862 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.753e-05/0.007712, allocations: 9.312 kB / 0.8862 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.007947, allocations: 244.2 kB / 0.8864 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.007984, allocations: 72.34 kB / 0.8865 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.00801, allocations: 13.14 kB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.008048, allocations: 82.2 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.008049, allocations: 3.938 kB / 0.8866 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of Templates: time 0.003355/0.0114, allocations: 1.97 MB / 0.8885 GB, free: 12.42 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.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.996365554165095]