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.001057/0.001057, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 178.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8.125 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001343/0.2944, allocations: 0.9548 MB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.2954, allocations: 446.7 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.2954, allocations: 0 / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.2954, allocations: 0 / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.2955, allocations: 0 / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.296, allocations: 87.72 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.296, allocations: 23.92 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.2961, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.2961, allocations: 11.98 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.2962, allocations: 11.94 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2962, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.2964, allocations: 103.8 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.2964, allocations: 7.984 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.2965, allocations: 37.62 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2966, allocations: 71.91 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2967, allocations: 3.938 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2967, allocations: 3.938 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2967, allocations: 0 / 1.061 GB, free: 3.23 MB / 0.8106 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.0004343/0.2971, allocations: 381.4 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2972, allocations: 15.97 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.2972, allocations: 4.844 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2973, allocations: 164.4 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.2974, allocations: 384 / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2974, allocations: 4.312 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.2975, allocations: 46.23 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2975, allocations: 192 / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2975, allocations: 3.938 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2975, allocations: 4 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.2976, allocations: 4 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.2978, allocations: 153.7 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.091e-05/0.2979, allocations: 30.61 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.2979, allocations: 20.8 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.2979, allocations: 0 / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.2981, allocations: 59.48 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.825e-06/0.2981, allocations: 3.984 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.2983, allocations: 73.52 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.2983, allocations: 55.41 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.2984, allocations: 105.8 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2984, allocations: 29.7 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.2985, allocations: 88.12 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.2985, allocations: 11.84 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.2985, allocations: 17.72 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2987, allocations: 314.8 kB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.2987, allocations: 7.938 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.2987, allocations: 43.41 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.2988, allocations: 51.38 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2988, allocations: 0 / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.758e-05/0.2989, allocations: 65.53 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2989, allocations: 11.94 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2989, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.299, allocations: 3.984 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.299, allocations: 11.94 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.299, allocations: 0 / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.2991, allocations: 8.094 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2991, allocations: 0 / 1.063 GB, free: 1.215 MB / 0.8106 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.2992, allocations: 114.1 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.2992, allocations: 7.938 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.2992, allocations: 11.83 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2992, allocations: 4 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2992, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2992, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2994, allocations: 153.7 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2994, allocations: 8 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.2994, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2994, allocations: 3.938 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2994, allocations: 0 / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2994, allocations: 4 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2994, allocations: 0 / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.2996, allocations: 92.95 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.2996, allocations: 77.11 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.2997, allocations: 15.92 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.2997, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.2997, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2997, allocations: 4 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.2998, allocations: 87.27 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2998, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000258/0.3, allocations: 28 kB / 1.063 GB, free: 0.5156 MB / 0.8106 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 (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.0003547/0.3004, allocations: 169.4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.678e-05/0.3005, allocations: 27.92 kB / 1.064 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3005, allocations: 3.938 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.3006, allocations: 11.98 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.3007, allocations: 9.25 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.301, allocations: 152.3 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3013, allocations: 0.677 MB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.3013, allocations: 11.44 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3013, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.003142/0.3045, allocations: 1.238 MB / 1.066 GB, free: 14.16 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches