Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001759/0.001759, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001947/0.001947, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.433/1.433, 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 9.1.2-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 64.08 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3385, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002789/0.3413, allocations: 1.213 MB / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009636/0.3423, allocations: 412.8 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.3423, allocations: 0 / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.3424, allocations: 3.938 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.3425, allocations: 0 / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.3431, allocations: 95.64 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.3432, allocations: 19.98 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.3433, allocations: 4 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3433, allocations: 4 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.3433, allocations: 15.92 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3433, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.3436, allocations: 91.84 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3436, allocations: 3.984 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.3436, allocations: 11.94 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3438, allocations: 83.81 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3439, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.955e-06/0.3439, allocations: 4 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3439, allocations: 4 kB / 0.953 GB, free: 6.113 MB / 0.7325 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.000596/0.3445, allocations: 343.5 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3445, allocations: 12.03 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.3446, allocations: 0.9375 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3447, allocations: 172.2 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3447, allocations: 4.375 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3448, allocations: 384 / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3449, allocations: 34.25 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3449, allocations: 12.19 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3449, allocations: 7.938 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3449, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.345, allocations: 11.92 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.3451, allocations: 157.6 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.3452, allocations: 34.5 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.3453, allocations: 12.94 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3453, allocations: 0 / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3454, allocations: 59.39 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3454, allocations: 0 / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.3456, allocations: 73.55 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.3457, allocations: 55.41 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.3458, allocations: 101.8 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3458, allocations: 25.7 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.3459, allocations: 92.08 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.3459, allocations: 3.906 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.346, allocations: 21.72 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3461, allocations: 318.8 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.3461, allocations: 4 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.3461, allocations: 35.42 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.962e-05/0.3462, allocations: 47.38 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3462, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001118/0.3463, allocations: 65.53 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3464, allocations: 7.938 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3464, allocations: 4 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3464, allocations: 0 / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.3465, allocations: 24.02 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3465, allocations: 0 / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.3465, allocations: 0 / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3465, allocations: 4 kB / 0.9547 GB, free: 4.152 MB / 0.7325 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.046e-05/0.3466, allocations: 113.8 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.3467, allocations: 3.938 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.3467, allocations: 3.5 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3467, allocations: 7.984 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3467, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3467, allocations: 4 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3469, allocations: 153.7 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3469, allocations: 0 / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.3469, allocations: 0 / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.3469, allocations: 3.938 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3469, allocations: 7.938 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3469, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.347, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3471, allocations: 89.44 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.3472, allocations: 89.08 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3472, allocations: 11.88 kB / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.3472, allocations: 0 / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.3472, allocations: 3.984 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3473, allocations: 8 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.3473, allocations: 79.22 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3473, allocations: 0 / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002744/0.3476, allocations: 35.98 kB / 0.9553 GB, free: 3.449 MB / 0.7325 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.0003869/0.348, allocations: 153.3 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.3481, allocations: 31.92 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3481, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.3482, allocations: 15.94 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3483, allocations: 0 / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.3486, allocations: 101.2 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.3489, allocations: 0.6805 MB / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.3489, allocations: 0 / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.349, allocations: 11.44 kB / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.349, allocations: 0 / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of Templates: time 0.003768/0.3527, allocations: 1.019 MB / 0.9572 GB, free: 1.398 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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