Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.00168/0.00168, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001859/0.001859, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.1 MB / 0.711 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 68.2 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2937, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002425/0.2961, allocations: 1.204 MB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.297, allocations: 412.2 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.297, allocations: 0 / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.2971, allocations: 3.938 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.2971, allocations: 7.984 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.2976, allocations: 95.66 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.2977, allocations: 11.98 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.2977, allocations: 4 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.2977, allocations: 11.92 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.558e-05/0.2978, allocations: 4 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2978, allocations: 0 / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.298, allocations: 99.83 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.298, allocations: 7.938 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.2981, allocations: 4 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2982, allocations: 87.81 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2983, allocations: 0 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2983, allocations: 4 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2983, allocations: 0 / 1.02 GB, free: 8.637 MB / 0.795 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.0005158/0.2988, allocations: 347.5 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2988, allocations: 12.92 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.2989, allocations: 0.9375 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.299, allocations: 168.5 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.2991, allocations: 12.36 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.2991, allocations: 384 / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.2992, allocations: 42.23 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2992, allocations: 4.188 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2992, allocations: 3.938 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2992, allocations: 3.938 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.2992, allocations: 4 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.2995, allocations: 157.6 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/0.2996, allocations: 38.55 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.2996, allocations: 12.8 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2996, allocations: 4 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.2998, allocations: 51.48 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2998, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002232/0.3, allocations: 77.55 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.3001, allocations: 59.41 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.3002, allocations: 93.86 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3002, allocations: 29.7 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.3003, allocations: 80.14 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3003, allocations: 7.891 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3003, allocations: 21.72 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3005, allocations: 314.8 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.3005, allocations: 7.984 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.3006, allocations: 43.42 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.3006, allocations: 47.36 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3006, allocations: 0 / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.3008, allocations: 69.62 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3008, allocations: 11.94 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3008, allocations: 4 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3008, allocations: 0 / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.3009, allocations: 11.94 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3009, allocations: 3.984 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.3009, allocations: 0 / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.301, allocations: 4 kB / 1.022 GB, free: 6.672 MB / 0.795 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.841e-05/0.3011, allocations: 114.9 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.3011, allocations: 4.359 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.3011, allocations: 7.5 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3011, allocations: 4 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3011, allocations: 3.984 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3011, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3013, allocations: 153.7 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3013, allocations: 3.938 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.3013, allocations: 3.984 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3013, allocations: 3.938 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3013, allocations: 4 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.3013, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3013, allocations: 7.938 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.3015, allocations: 85.02 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.3015, allocations: 89.05 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3016, allocations: 3.938 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.3016, allocations: 0 / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.3016, allocations: 0 / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3016, allocations: 7.938 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.3017, allocations: 83.27 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3017, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002551/0.3019, allocations: 32 kB / 1.022 GB, free: 5.973 MB / 0.795 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.0003631/0.3023, allocations: 150.6 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.3024, allocations: 36.11 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3024, allocations: 4.188 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.3025, allocations: 15.92 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3026, allocations: 7 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.3029, allocations: 126.8 kB / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3032, allocations: 0.6806 MB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.3033, allocations: 7.438 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.3033, allocations: 4 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of Templates: time 0.00321/0.3065, allocations: 1.162 MB / 1.024 GB, free: 3.734 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches