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.001472/0.001472, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001601/0.001601, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.581/2.581, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.72 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3363, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002509/0.3388, allocations: 1.224 MB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.3397, allocations: 413.1 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.3397, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.3398, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.3398, allocations: 3.938 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.3403, allocations: 103.6 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.576e-05/0.3404, allocations: 15.92 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.3405, allocations: 0 / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.3405, allocations: 8 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.3405, allocations: 15.91 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3405, allocations: 4 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3407, allocations: 95.84 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3408, allocations: 0 / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.3408, allocations: 15.92 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.341, allocations: 79.88 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.341, allocations: 0 / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.315e-06/0.341, allocations: 0 / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.341, allocations: 0 / 1.029 GB, free: 84 kB / 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.0004918/0.3415, allocations: 347.5 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/0.3416, allocations: 16.03 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3416, allocations: 4.938 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3418, allocations: 168.2 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3418, allocations: 4.312 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3418, allocations: 4.375 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.3419, allocations: 42.19 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.342, allocations: 192 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.342, allocations: 3.938 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.342, allocations: 7.984 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.342, allocations: 3.984 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.3422, allocations: 157.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/0.3423, allocations: 26.72 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.3424, allocations: 16.84 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3424, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.3425, allocations: 55.34 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3425, allocations: 4 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001972/0.3427, allocations: 73.61 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3428, allocations: 51.41 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.3429, allocations: 97.84 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3429, allocations: 33.7 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.3429, allocations: 80.14 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.343, allocations: 3.906 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.343, allocations: 25.7 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3431, allocations: 318.8 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.3431, allocations: 7.938 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.3432, allocations: 35.42 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.3432, allocations: 47.38 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3432, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.632e-05/0.3433, allocations: 73.52 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3434, allocations: 7.938 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3434, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3434, allocations: 3.938 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.3435, allocations: 8 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3435, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.3435, allocations: 3.938 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3435, allocations: 4.094 kB / 1.03 GB, free: 14.12 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 8.215e-05/0.3436, allocations: 121.8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.3436, allocations: 7.922 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.3437, allocations: 3.5 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3437, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3437, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3437, allocations: 4 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3438, allocations: 154.1 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3438, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.3438, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3438, allocations: 11.88 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3439, allocations: 4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3439, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3439, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.344, allocations: 92.94 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.344, allocations: 81.05 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3441, allocations: 7.938 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.3441, allocations: 7.984 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.3441, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3441, allocations: 4 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.3442, allocations: 75.28 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3442, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002412/0.3444, allocations: 31.98 kB / 1.031 GB, free: 13.42 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.0003167/0.3447, allocations: 155.3 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3448, allocations: 35.86 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3449, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.3449, allocations: 12 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.345, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.3453, allocations: 105 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.3455, allocations: 0.6768 MB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.3455, allocations: 12.08 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.3456, allocations: 15.38 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of SimCode: time 1.653e-06/0.3456, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.003156/0.3487, allocations: 1.015 MB / 1.033 GB, free: 11.35 MB / 0.8106 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 -s cvode -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) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y