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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001231/0.001231, allocations: 104.3 kB / 16.41 MB, free: 6.41 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.001354/0.001354, allocations: 189.7 kB / 17.34 MB, free: 5.699 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7287, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002181/0.7309, allocations: 1.205 MB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.7317, allocations: 402.6 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.7318, allocations: 7.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.7318, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.7319, allocations: 7.922 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.7324, allocations: 95.7 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.7324, allocations: 11.94 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.7325, allocations: 11.98 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.7325, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.511e-05/0.7325, allocations: 7.938 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.7326, allocations: 7.984 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.7328, allocations: 95.83 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.7328, allocations: 8 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.7328, allocations: 3.938 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.733, allocations: 83.83 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.733, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.733, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.733, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 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.0004323/0.7335, allocations: 347.6 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7335, allocations: 8.031 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.7336, allocations: 4.844 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.7337, allocations: 176.2 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.7337, allocations: 384 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.7337, allocations: 4.375 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.7338, allocations: 50.17 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.7338, allocations: 192 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7339, allocations: 3.938 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7339, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.7339, allocations: 8 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.7341, allocations: 157.7 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.672e-05/0.7341, allocations: 30.58 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.7342, allocations: 8.859 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.7342, allocations: 96 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.7343, allocations: 63.33 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7343, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001863/0.7345, allocations: 77.61 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.7346, allocations: 51.41 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.7346, allocations: 93.86 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.7347, allocations: 29.7 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.7347, allocations: 84.12 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.7347, allocations: 15.75 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.7348, allocations: 21.72 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.7349, allocations: 318.8 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.7349, allocations: 15.88 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.7349, allocations: 27.44 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.735, allocations: 55.36 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.735, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.85e-05/0.7351, allocations: 61.62 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7351, allocations: 11.94 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7352, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.7352, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.7352, allocations: 11.98 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7353, allocations: 0 / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.7353, allocations: 8.094 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.7353, allocations: 3.938 kB / 1.212 GB, free: 9.719 MB / 0.9356 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.245e-05/0.7354, allocations: 113.8 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.7354, allocations: 8.266 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.7354, allocations: 7.5 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7354, allocations: 0 / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7354, allocations: 3.984 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.7355, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.7356, allocations: 155.5 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7356, allocations: 7.984 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.7356, allocations: 4 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.7356, allocations: 3.938 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7356, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7356, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7356, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.7357, allocations: 89.05 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.7358, allocations: 81.11 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.7358, allocations: 7.938 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.7358, allocations: 4 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.7359, allocations: 4 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.7359, allocations: 3.984 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.7359, allocations: 79.28 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.333e-06/0.7359, allocations: 0 / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002456/0.7362, allocations: 31.94 kB / 1.213 GB, free: 9.027 MB / 0.9356 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.0002998/0.7365, allocations: 160.5 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.619e-05/0.7366, allocations: 28.11 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.7366, allocations: 4 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.7366, allocations: 11.98 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.7368, allocations: 192 / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.737, allocations: 146.5 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.7372, allocations: 0.6847 MB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.7373, allocations: 7.438 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7373, allocations: 0 / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.002712/0.74, allocations: 1.159 MB / 1.215 GB, free: 6.781 MB / 0.9356 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