Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009767/0.0009767, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.6759, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001113/0.6771, allocations: 0.9409 MB / 1.022 GB, free: 188 kB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.6778, allocations: 418.9 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.6778, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.6778, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.6779, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.6783, allocations: 83.72 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.391e-05/0.6783, allocations: 11.98 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.6784, allocations: 7.984 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.6784, allocations: 7.938 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.6784, allocations: 11.92 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.6785, allocations: 4 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.6786, allocations: 83.86 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.6786, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.6787, allocations: 33.69 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.6788, allocations: 71.83 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.6788, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6788, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.6788, allocations: 3.938 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003932/0.6792, allocations: 379 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6793, allocations: 11.98 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.6793, allocations: 8 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.6794, allocations: 170.9 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.6795, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.6795, allocations: 7.938 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.6796, allocations: 45.62 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.6796, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.6796, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6796, allocations: 3.984 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.6796, allocations: 7.938 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.6798, allocations: 157.7 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.6799, allocations: 30.61 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6799, allocations: 4 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.68, allocations: 55.45 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.68, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001808/0.6802, allocations: 69.61 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.6802, allocations: 55.41 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.6803, allocations: 105.8 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.6803, allocations: 25.7 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.6804, allocations: 88.14 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.6804, allocations: 7.812 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.6804, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6805, allocations: 322.8 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.6806, allocations: 4 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.341e-05/0.6806, allocations: 35.42 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.6806, allocations: 12 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6806, allocations: 3.938 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.326e-05/0.6807, allocations: 65.62 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.6807, allocations: 4 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6808, allocations: 8.047 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6808, allocations: 4 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.6809, allocations: 7.984 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.6809, allocations: 4 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.6809, allocations: 0 / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.6809, allocations: 4 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/0.681, allocations: 117.9 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.681, allocations: 3.906 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.681, allocations: 3.906 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.681, allocations: 11.94 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6811, allocations: 7.938 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6811, allocations: 3.938 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.6812, allocations: 161.6 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6812, allocations: 0 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.6812, allocations: 0 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6812, allocations: 4 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.6812, allocations: 256 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6812, allocations: 7.984 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6812, allocations: 4.188 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.6814, allocations: 97.03 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.6814, allocations: 85.02 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.6814, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.6815, allocations: 3.984 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.6815, allocations: 7.953 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.6815, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.6815, allocations: 83.28 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6815, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002476/0.6818, allocations: 35.98 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/0.6821, allocations: 156.2 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.6822, allocations: 27.92 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6822, allocations: 4 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.6822, allocations: 12.17 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.781e-05/0.6823, allocations: 11.94 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.6826, allocations: 116.6 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.6828, allocations: 0.6809 MB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.6828, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.6829, allocations: 15.42 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6829, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.003003/0.6859, allocations: 1.058 MB / 1.027 GB, free: 10.69 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y