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.0009322/0.0009322, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009126/0.0009126, allocations: 169 kB / 23.02 MB, free: 1.547 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.9243/0.9243, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.015/2.015, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 2.585e-06/2.585e-06, allocations: 0 / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.676e-05, allocations: 3.188 kB / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00268/0.002717, allocations: 1.288 MB / 0.8794 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.003707, allocations: 469.9 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.003742, allocations: 0 / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.003847, allocations: 0 / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.003884, allocations: 8.594 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.004495, allocations: 119.4 kB / 0.88 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.004598, allocations: 32.83 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.526e-05/0.004643, allocations: 0 / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.004694, allocations: 17.02 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.004739, allocations: 15.91 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.00476, allocations: 4 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.005062, allocations: 140.8 kB / 0.8802 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.005117, allocations: 19.94 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.005156, allocations: 19.92 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.005429, allocations: 152.6 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005432, allocations: 0 / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005433, allocations: 0 / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.005439, allocations: 0.9688 kB / 0.8803 GB, free: 4.125 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.0006466/0.006085, allocations: 486.5 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.006138, allocations: 8.688 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.00627, allocations: 12.84 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.006409, allocations: 129.1 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.006436, allocations: 4.375 kB / 0.881 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.006451, allocations: 5.688 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.00662, allocations: 88.94 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006631, allocations: 4.188 kB / 0.881 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.006643, allocations: 1.156 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.006651, allocations: 384 / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.006699, allocations: 34 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.006877, allocations: 140.4 kB / 0.8812 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/0.006969, allocations: 56.16 kB / 0.8813 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.007023, allocations: 35.72 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.007031, allocations: 4.656 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.007184, allocations: 116.4 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 1.553e-06/0.007185, allocations: 4.938 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38): time 0.0005075/0.007693, allocations: 334.8 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.007766, allocations: 87.31 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.007899, allocations: 189.3 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.007942, allocations: 49.69 kB / 0.8821 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.008006, allocations: 135.5 kB / 0.8822 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.008107, allocations: 99.36 kB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.008219, allocations: 103.3 kB / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.008398, allocations: 0.5157 MB / 0.8829 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/0.008498, allocations: 52.64 kB / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.008676, allocations: 158 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.009001, allocations: 260.1 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.009005, allocations: 1.156 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004476/0.009452, allocations: 332 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.009468, allocations: 4 kB / 0.8837 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.009481, allocations: 8 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.009497, allocations: 192 / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.009762, allocations: 79.84 kB / 0.8837 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.009773, allocations: 7.938 kB / 0.8837 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.009843, allocations: 35.67 kB / 0.8838 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.009862, allocations: 12 kB / 0.8838 GB, free: 340 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.0001589/0.01002, allocations: 216.5 kB / 0.884 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.01004, allocations: 11.91 kB / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.01007, allocations: 9.609 kB / 0.884 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01007, allocations: 0 / 0.884 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.01008, allocations: 4 kB / 0.884 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01008, allocations: 3.938 kB / 0.884 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.01021, allocations: 124.7 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01021, allocations: 0 / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.01024, allocations: 7.984 kB / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01024, allocations: 0 / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01025, allocations: 4 kB / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01025, allocations: 0 / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01025, allocations: 3.938 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.0106, allocations: 297 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.01063, allocations: 27.77 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.01066, allocations: 23.92 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.01068, allocations: 0 / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.01071, allocations: 0 / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.01071, allocations: 4 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.01077, allocations: 135.1 kB / 0.8846 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01077, allocations: 0 / 0.8846 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003081/0.01107, allocations: 55.94 kB / 0.8847 GB, free: 15.36 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.0004593/0.01153, allocations: 233.9 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.01184, allocations: 189.8 kB / 0.8851 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01184, allocations: 0 / 0.8851 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.01191, allocations: 63.59 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.01209, allocations: 8 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.0125, allocations: 245.5 kB / 0.8854 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.01256, allocations: 72.34 kB / 0.8855 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.0126, allocations: 17.27 kB / 0.8855 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.01263, allocations: 20.48 kB / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.01263, allocations: 0 / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of Templates: time 0.003845/0.01647, allocations: 1.918 MB / 0.8874 GB, free: 12.58 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.439930832013488]