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.0009897/0.0009897, 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.0009548/0.0009548, 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.904/0.904, 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.24/2.24, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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.325e-06/2.325e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.844e-05, allocations: 6.391 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002527/0.002565, allocations: 1.284 MB / 0.8794 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.003525, allocations: 466.7 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.003567, allocations: 0 / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.006103/0.00967, allocations: 3.938 kB / 0.8798 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.203e-05/0.009692, allocations: 2.219 kB / 0.8798 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.01021, allocations: 128.5 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.01029, allocations: 26.09 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.285e-05/0.01032, allocations: 4 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.01036, allocations: 15.98 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.547e-05/0.01038, allocations: 11.92 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.01039, allocations: 0 / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.01064, allocations: 139.7 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.01069, allocations: 30.25 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.01072, allocations: 11.94 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.01097, allocations: 147.5 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01098, allocations: 0 / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01098, allocations: 0 / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.01098, allocations: 3.938 kB / 0.8803 GB, free: 4.094 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.0005263/0.01151, allocations: 479.3 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.01156, allocations: 12.03 kB / 0.8808 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.01168, allocations: 22.48 kB / 0.8808 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.0118, allocations: 120.5 kB / 0.8809 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.01182, allocations: 4.375 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.01183, allocations: 384 / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.01198, allocations: 90.34 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.01199, allocations: 192 / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.012, allocations: 1.719 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.01201, allocations: 384 / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.01205, allocations: 35.92 kB / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.0122, allocations: 132.5 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.961e-05/0.01228, allocations: 56.59 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.01232, allocations: 35.69 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.01233, allocations: 0 / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006167/0.0185, allocations: 123.1 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.192e-06/0.0185, allocations: 0 / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004008/0.0189, allocations: 310.8 kB / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.01896, allocations: 91.06 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.01906, allocations: 193.8 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.0191, allocations: 45.69 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.01914, allocations: 135.5 kB / 0.8821 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.01922, allocations: 95.36 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.01932, allocations: 107.3 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01946, allocations: 0.5196 MB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.01956, allocations: 56.62 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.01971, allocations: 154.3 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.01999, allocations: 238.4 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01999, allocations: 0 / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004038/0.0204, allocations: 326.6 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.02042, allocations: 7.938 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.02043, allocations: 4 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.02046, allocations: 4 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.02069, allocations: 63.91 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.0207, allocations: 3.938 kB / 0.8837 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.02076, allocations: 43.66 kB / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.02078, allocations: 8.312 kB / 0.8837 GB, free: 384 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.0001596/0.02094, allocations: 216.6 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.02096, allocations: 11.91 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.021, allocations: 17.66 kB / 0.8839 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.021, allocations: 3.984 kB / 0.884 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.02101, allocations: 0 / 0.884 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.02101, allocations: 3.938 kB / 0.884 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.02115, allocations: 132.5 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.02115, allocations: 0 / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006223/0.02737, allocations: 4 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02738, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.02739, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02739, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.02739, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.0277, allocations: 301.7 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.02771, allocations: 23.78 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.02774, allocations: 23.98 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.02776, allocations: 0 / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.02778, allocations: 4 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.02779, allocations: 4 kB / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.02783, allocations: 135.1 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02783, allocations: 0 / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002949/0.02812, allocations: 55.88 kB / 0.8846 GB, free: 15.39 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.0004504/0.02857, allocations: 230.9 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.02886, allocations: 170 kB / 0.885 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02887, allocations: 0 / 0.885 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.02893, allocations: 63.59 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.02909, allocations: 4 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.0295, allocations: 257.3 kB / 0.8853 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.435e-05/0.02955, allocations: 71.84 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.0296, allocations: 12.64 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.02962, allocations: 12.5 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.02963, allocations: 4 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.01446/0.04409, allocations: 1.924 MB / 0.8873 GB, free: 12.64 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.827360714320093]