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.006852/0.006858, allocations: 104.7 kB / 15.73 MB, free: 6.035 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.001419/0.001419, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.85/2.85, allocations: 461.8 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 71.88 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3505, allocations: 157.4 MB / 1.208 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002197/0.3527, allocations: 1.208 MB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008083/0.3535, allocations: 402.7 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.3536, allocations: 0 / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.3536, allocations: 3.938 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.427e-05/0.3537, allocations: 0 / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.3542, allocations: 103.6 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.594e-05/0.3542, allocations: 12 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.014e-05/0.3543, allocations: 3.984 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.3543, allocations: 7.938 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.779e-05/0.3544, allocations: 8 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3544, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3546, allocations: 95.83 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3546, allocations: 11.98 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.3546, allocations: 3.938 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3548, allocations: 83.83 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3548, allocations: 0 / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3548, allocations: 0 / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3548, allocations: 0 / 1.21 GB, free: 7.781 MB / 0.9669 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.0004865/0.3553, allocations: 347.5 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3554, allocations: 12.56 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.3554, allocations: 4.938 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3555, allocations: 176.2 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3556, allocations: 4.375 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3556, allocations: 4.375 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.3557, allocations: 34.25 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3557, allocations: 192 / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3557, allocations: 3.938 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3557, allocations: 4 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.3558, allocations: 4 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.3559, allocations: 161.7 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.049e-05/0.356, allocations: 34.52 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.356, allocations: 12.95 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3561, allocations: 11.92 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.3562, allocations: 51.41 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3562, allocations: 0 / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000175/0.3564, allocations: 77.73 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3564, allocations: 51.41 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.3565, allocations: 105.8 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3565, allocations: 29.69 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.3566, allocations: 84.14 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3566, allocations: 7.906 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3566, allocations: 17.72 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3567, allocations: 318.8 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.3568, allocations: 12 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.3568, allocations: 31.42 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.3569, allocations: 47.36 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3569, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.848e-05/0.357, allocations: 69.62 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.357, allocations: 9.656 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.357, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.357, allocations: 4 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.3571, allocations: 11.92 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3571, allocations: 4 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.3571, allocations: 0 / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3572, allocations: 8 kB / 1.211 GB, free: 5.812 MB / 0.9669 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.281e-05/0.3572, allocations: 109.9 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.3573, allocations: 11.84 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.3573, allocations: 7.5 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3573, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3573, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3573, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3574, allocations: 157.6 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3574, allocations: 0 / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.3575, allocations: 4 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3575, allocations: 3.938 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3575, allocations: 4 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3575, allocations: 0 / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3575, allocations: 7.875 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.3576, allocations: 89.11 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.3577, allocations: 81.05 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3577, allocations: 3.938 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.3577, allocations: 8 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3577, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3577, allocations: 7.984 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.3578, allocations: 79.28 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3578, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002244/0.358, allocations: 28 kB / 1.212 GB, free: 5.125 MB / 0.9669 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.000297/0.3583, allocations: 155.3 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.856e-05/0.3584, allocations: 31.92 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3584, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.3585, allocations: 15.92 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.3586, allocations: 9.875 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.3589, allocations: 120.7 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3591, allocations: 0.6768 MB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.3591, allocations: 4.188 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.3592, allocations: 11.44 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3592, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of Templates: time 0.003191/0.3624, allocations: 1.017 MB / 1.214 GB, free: 3.047 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y