Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") 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: 100.1 kB / 15.88 MB, free: 12 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.001088/0.001088, allocations: 195.8 kB / 16.79 MB, free: 6.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.362/1.362, 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.676/2.676, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.19 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2821, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002358/0.2845, allocations: 1.274 MB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.2854, allocations: 422.7 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.2854, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.2855, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.2855, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.286, allocations: 83.78 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.286, allocations: 7.984 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.2861, allocations: 11.98 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.2861, allocations: 11.94 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.2862, allocations: 3.984 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2862, allocations: 4 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.2864, allocations: 91.84 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.2864, allocations: 3.938 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.2864, allocations: 15.97 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.2866, allocations: 55.91 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2866, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2866, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2866, allocations: 3.938 kB / 1.055 GB, free: 6.324 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.0004357/0.287, allocations: 351.5 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2871, allocations: 8.031 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.2871, allocations: 4.938 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2872, allocations: 164.6 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2873, allocations: 384 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.2873, allocations: 12.31 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.86e-05/0.2874, allocations: 34.25 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2874, allocations: 192 / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2874, allocations: 7.938 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2874, allocations: 4 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.2875, allocations: 3.984 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.2876, allocations: 157.6 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.2877, allocations: 26.72 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.2878, allocations: 24.78 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.2878, allocations: 0 / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.2879, allocations: 55.41 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2879, allocations: 0 / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001995/0.2881, allocations: 69.61 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.2882, allocations: 55.34 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.2883, allocations: 101.8 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2883, allocations: 29.7 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.2884, allocations: 80.14 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.2884, allocations: 11.91 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.2885, allocations: 29.64 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.2886, allocations: 310.8 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.2886, allocations: 8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.2886, allocations: 31.42 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.2887, allocations: 55.69 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2887, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001074/0.2888, allocations: 73.52 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2888, allocations: 11.92 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2889, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2889, allocations: 4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.2889, allocations: 7.938 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.289, allocations: 8.094 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.289, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.289, allocations: 8 kB / 1.056 GB, free: 4.359 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 9.066e-05/0.2891, allocations: 109.8 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.2891, allocations: 3.938 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.2892, allocations: 11.48 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2892, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2892, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2892, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.2893, allocations: 157.7 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2893, allocations: 4 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.2893, allocations: 4 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2893, allocations: 3.938 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2894, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2894, allocations: 4 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2894, allocations: 0 / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2895, allocations: 92.95 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.2895, allocations: 85.05 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2896, allocations: 7.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.2896, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.2896, allocations: 3.984 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2896, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.2897, allocations: 79.28 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2897, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002688/0.29, allocations: 31.98 kB / 1.057 GB, free: 3.676 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.0003892/0.2903, allocations: 166 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.2905, allocations: 27.92 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2905, allocations: 0 / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.2905, allocations: 8 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.2907, allocations: 8 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.2909, allocations: 140.6 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.2912, allocations: 0.6731 MB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.2912, allocations: 11.44 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2912, allocations: 0 / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.0029/0.2941, allocations: 1.154 MB / 1.059 GB, free: 1.438 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches