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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001637/0.001637, allocations: 108 kB / 15.6 MB, free: 132 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.002012/0.002013, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 69.88 kB / 0.912 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3386, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002826/0.3415, allocations: 1.218 MB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.3425, allocations: 412.8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.3425, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.3426, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.3426, allocations: 3.938 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.3433, allocations: 95.72 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.3433, allocations: 23.92 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.3434, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.3434, allocations: 11.92 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.279e-05/0.3435, allocations: 7.984 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3435, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.3437, allocations: 91.84 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3438, allocations: 11.92 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.3438, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.344, allocations: 87.81 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.344, allocations: 4 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.973e-06/0.344, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.344, allocations: 4 kB / 1.07 GB, free: 8.395 MB / 0.8262 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.0005046/0.3445, allocations: 339.6 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3446, allocations: 12.03 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3446, allocations: 4.844 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3448, allocations: 164.6 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3448, allocations: 4.375 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3448, allocations: 8.375 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.3449, allocations: 38.25 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3449, allocations: 8.109 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.345, allocations: 7.938 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.345, allocations: 3.938 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.345, allocations: 7.938 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3452, allocations: 149.7 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.712e-05/0.3453, allocations: 30.61 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.3453, allocations: 20.86 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.3453, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.3455, allocations: 59.42 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3455, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.00021/0.3457, allocations: 65.62 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.3458, allocations: 51.41 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.3459, allocations: 105.8 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3459, allocations: 29.7 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.346, allocations: 80.14 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.346, allocations: 11.81 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.346, allocations: 25.7 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3462, allocations: 310.8 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.3462, allocations: 4 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.3463, allocations: 43.36 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.341e-05/0.3463, allocations: 47.73 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3463, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001245/0.3465, allocations: 69.61 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3465, allocations: 8.031 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3465, allocations: 8 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3465, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.3466, allocations: 8 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3466, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.3467, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3467, allocations: 4 kB / 1.072 GB, free: 6.449 MB / 0.8262 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 0.0001144/0.3468, allocations: 124 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3468, allocations: 7.844 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.3469, allocations: 7.5 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3469, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3469, allocations: 4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3469, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.347, allocations: 157.7 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.347, allocations: 3.938 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.3471, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3471, allocations: 3.938 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3471, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3471, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3471, allocations: 3.984 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.3472, allocations: 89.06 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3473, allocations: 85.05 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3473, allocations: 15.86 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.3473, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.3474, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3474, allocations: 4 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.3474, allocations: 75.28 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3474, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002804/0.3477, allocations: 35.98 kB / 1.072 GB, free: 5.742 MB / 0.8262 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.0003834/0.3481, allocations: 153.9 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.3482, allocations: 35.92 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3482, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.542e-05/0.3483, allocations: 12.19 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.3484, allocations: 11.92 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.3487, allocations: 104.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.349, allocations: 0.6768 MB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.349, allocations: 3.984 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.349, allocations: 11.44 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.349, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of Templates: time 0.003583/0.3526, allocations: 1.011 MB / 1.074 GB, free: 3.68 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/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