Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.001116/0.001116, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001167/0.001167, allocations: 169.3 kB / 23.49 MB, free: 1.059 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.9965/0.9965, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.221/2.221, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.111e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001953/0.001984, allocations: 1.28 MB / 0.8794 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006935/0.002678, allocations: 462.6 kB / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.002709, allocations: 0 / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.729e-05/0.002787, allocations: 4.875 kB / 0.8798 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.812e-05/0.002805, allocations: 9.688 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.003266, allocations: 120.6 kB / 0.88 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.00334, allocations: 27.91 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.003376, allocations: 0 / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.003411, allocations: 17.02 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.003438, allocations: 11.92 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.003452, allocations: 1.031 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.00366, allocations: 143.7 kB / 0.8802 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.003702, allocations: 27.91 kB / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.003728, allocations: 9.062 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.003935, allocations: 151.4 kB / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003938, allocations: 0 / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/0.003939, allocations: 1.031 kB / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.003945, allocations: 0 / 0.8803 GB, free: 4.449 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.0004104/0.004355, allocations: 478.6 kB / 0.8808 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.004391, allocations: 13.12 kB / 0.8808 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/0.004474, allocations: 20.83 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/0.004557, allocations: 125.2 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.004573, allocations: 4.375 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.004581, allocations: 0.875 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.004695, allocations: 89.84 kB / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.0047, allocations: 1.656 kB / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004709, allocations: 384 / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.004715, allocations: 384 / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.004743, allocations: 35.92 kB / 0.8811 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.004857, allocations: 133 kB / 0.8812 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.283e-05/0.00492, allocations: 55.81 kB / 0.8813 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.004953, allocations: 36.78 kB / 0.8813 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.004959, allocations: 0 / 0.8813 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.005077, allocations: 119.7 kB / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 9.52e-07/0.005078, allocations: 0 / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0003496/0.005428, allocations: 312.5 kB / 0.8817 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.005482, allocations: 95 kB / 0.8818 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.005574, allocations: 197.7 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.0056, allocations: 45.69 kB / 0.882 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.005637, allocations: 138.9 kB / 0.8822 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.0057, allocations: 95.36 kB / 0.8823 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.005775, allocations: 103.3 kB / 0.8824 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.005897, allocations: 0.5157 MB / 0.8829 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.005965, allocations: 56.62 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.006081, allocations: 150.3 kB / 0.8831 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.006276, allocations: 239.5 kB / 0.8833 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006279, allocations: 0 / 0.8833 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002821/0.006561, allocations: 328.1 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.006575, allocations: 5.094 kB / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.006581, allocations: 4 kB / 0.8836 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.006594, allocations: 4 kB / 0.8836 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.006748, allocations: 64.06 kB / 0.8837 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.006754, allocations: 7.938 kB / 0.8837 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.006792, allocations: 39.67 kB / 0.8837 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.006805, allocations: 11.98 kB / 0.8837 GB, free: 0.7344 MB / 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 9.941e-05/0.006904, allocations: 212.5 kB / 0.8839 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.006915, allocations: 15.91 kB / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.006946, allocations: 17.61 kB / 0.884 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006948, allocations: 0 / 0.884 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.006951, allocations: 0 / 0.884 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.006956, allocations: 3.938 kB / 0.884 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.315e-05/0.007039, allocations: 128.5 kB / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.00704, allocations: 0 / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/0.007048, allocations: 4 kB / 0.8841 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.007049, allocations: 0 / 0.8841 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.007056, allocations: 4 kB / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.007058, allocations: 7.938 kB / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.007059, allocations: 0 / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.007296, allocations: 297.8 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.007308, allocations: 19.78 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.007331, allocations: 23.98 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.007342, allocations: 0 / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.007361, allocations: 3.938 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.007367, allocations: 4 kB / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.007402, allocations: 131.1 kB / 0.8846 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.007402, allocations: 0 / 0.8846 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001945/0.007596, allocations: 51.88 kB / 0.8846 GB, free: 15.77 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.0003433/0.00794, allocations: 236.1 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.00813, allocations: 170 kB / 0.885 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008131, allocations: 4.312 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.008173, allocations: 67.59 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.008279, allocations: 0 / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.008561, allocations: 253 kB / 0.8853 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.008599, allocations: 71.84 kB / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.008625, allocations: 12.64 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.008647, allocations: 16.5 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.008647, allocations: 4 kB / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003487/0.01213, allocations: 1.767 MB / 0.8871 GB, free: 13.15 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.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.485988847911358]