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.007207/0.007207, allocations: 101 kB / 15.88 MB, free: 5.867 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.001642/0.001642, allocations: 192 kB / 16.79 MB, free: 5.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002037, allocations: 67.33 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002551/0.2963, allocations: 1.278 MB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.2973, allocations: 462.6 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.2973, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2974, allocations: 3.938 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.2974, allocations: 0 / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2979, allocations: 83.73 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.298, allocations: 31.91 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.2981, allocations: 0 / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.2981, allocations: 7.984 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.2981, allocations: 11.94 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2981, allocations: 0 / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.2984, allocations: 99.89 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.2984, allocations: 15.92 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2984, allocations: 7.875 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.2986, allocations: 79.83 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2986, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2987, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2987, allocations: 4 kB / 1.055 GB, free: 6.258 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.0005096/0.2992, allocations: 386.9 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.567e-05/0.2993, allocations: 15.97 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.2993, allocations: 4.938 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2994, allocations: 168.4 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2995, allocations: 4.375 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2995, allocations: 4.375 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.2996, allocations: 38.23 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2996, allocations: 4.188 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2996, allocations: 3.938 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2996, allocations: 0 / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.2997, allocations: 15.92 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.2998, allocations: 153.7 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.2999, allocations: 30.56 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.3, allocations: 12.86 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3, allocations: 4 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.3002, allocations: 55.41 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.542e-06/0.3002, allocations: 3.938 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002292/0.3004, allocations: 73.55 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3005, allocations: 55.41 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.3005, allocations: 105.8 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3006, allocations: 29.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.3006, allocations: 88.14 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3007, allocations: 11.83 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.3007, allocations: 21.72 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3008, allocations: 314.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.3008, allocations: 11.97 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.3009, allocations: 31.44 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.3009, allocations: 51.36 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.301, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.3011, allocations: 73.47 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3011, allocations: 13.5 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3011, allocations: 0 / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3011, allocations: 4.094 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3012, allocations: 11.98 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3012, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.3012, allocations: 4 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3012, allocations: 3.938 kB / 1.056 GB, free: 4.23 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 0.0001059/0.3014, allocations: 113.8 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.3014, allocations: 3.938 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3014, allocations: 7.906 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3014, allocations: 4.172 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3014, allocations: 4 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3014, allocations: 3.984 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3016, allocations: 161.8 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3016, allocations: 4 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.3016, allocations: 4 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3016, allocations: 3.938 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3017, allocations: 0 / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3017, allocations: 0 / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3017, allocations: 4 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.3018, allocations: 85.11 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3019, allocations: 85.05 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3019, allocations: 7.938 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.302, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.302, allocations: 3.984 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.302, allocations: 0 / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.302, allocations: 83.28 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3021, allocations: 3.938 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002551/0.3023, allocations: 35.98 kB / 1.057 GB, free: 3.523 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.0003565/0.3027, allocations: 174.4 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.3028, allocations: 23.98 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3028, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.3029, allocations: 11.94 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.303, allocations: 16.17 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.3033, allocations: 148.2 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3035, allocations: 0.677 MB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.3035, allocations: 11.44 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3035, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of Templates: time 0.002967/0.3065, allocations: 1.234 MB / 1.059 GB, free: 1.176 MB / 0.8106 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