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.000969/0.000969, allocations: 91.77 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.00142/0.00142, allocations: 178.9 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.42/1.42, 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.671/2.671, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 9 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2846, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001345/0.286, allocations: 0.9353 MB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.2869, allocations: 406.9 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.287, allocations: 0 / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.287, allocations: 0 / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.287, allocations: 4 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.2875, allocations: 75.78 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.2876, allocations: 15.98 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.2876, allocations: 4 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.2877, allocations: 11.94 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.2877, allocations: 7.922 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2877, allocations: 4 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.2879, allocations: 91.84 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.288, allocations: 0 / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.288, allocations: 45.61 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2881, allocations: 55.92 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2882, allocations: 3.984 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2882, allocations: 0 / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2882, allocations: 0 / 1.061 GB, free: 3.32 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.0004506/0.2886, allocations: 343.5 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2887, allocations: 8.031 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.2887, allocations: 4.938 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2888, allocations: 168.5 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2889, allocations: 384 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.2889, allocations: 12.36 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.289, allocations: 38.25 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.289, allocations: 192 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.289, allocations: 3.938 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.289, allocations: 0 / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.2891, allocations: 4 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.2892, allocations: 157.6 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.2893, allocations: 34.55 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.2893, allocations: 12.86 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.2894, allocations: 4 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.2895, allocations: 63.47 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2895, allocations: 0 / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001945/0.2897, allocations: 73.55 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2898, allocations: 55.41 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.2898, allocations: 97.86 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2899, allocations: 25.7 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.2899, allocations: 88.14 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2899, allocations: 7.891 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.29, allocations: 17.72 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2901, allocations: 310.8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.2901, allocations: 8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.2901, allocations: 35.42 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.2902, allocations: 43.38 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2902, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001049/0.2903, allocations: 77.45 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2903, allocations: 8.031 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2904, allocations: 8 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2904, allocations: 0 / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.2904, allocations: 15.88 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2905, allocations: 0 / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.2905, allocations: 0 / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2905, allocations: 8 kB / 1.063 GB, free: 1.371 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 7.259e-05/0.2906, allocations: 113.8 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.2906, allocations: 3.938 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.2906, allocations: 11.5 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2906, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2907, allocations: 4 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2907, allocations: 0 / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2908, allocations: 153.7 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2908, allocations: 0 / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.2908, allocations: 0 / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2908, allocations: 3.938 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2908, allocations: 4 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2908, allocations: 3.984 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2908, allocations: 3.938 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.291, allocations: 89.03 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.291, allocations: 85.05 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.291, allocations: 7.922 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.2911, allocations: 480 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.2911, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.2911, allocations: 4 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.2911, allocations: 79.27 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2911, allocations: 0 / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002452/0.2914, allocations: 39.98 kB / 1.063 GB, free: 0.6797 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.0003161/0.2917, allocations: 162.8 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.2918, allocations: 31.92 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2918, allocations: 4 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.2919, allocations: 12.19 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.292, allocations: 13.64 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.2923, allocations: 124.5 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2925, allocations: 0.677 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.2926, allocations: 11.44 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2926, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.002768/0.2953, allocations: 1.151 MB / 1.065 GB, free: 14.45 MB / 0.8262 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