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.001524/0.001524, allocations: 119.6 kB / 16.37 MB, free: 6.016 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.001134/0.001134, allocations: 193 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 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.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 62.84 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2528, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002673/0.2555, allocations: 1.209 MB / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.2563, allocations: 416.8 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.2563, allocations: 0 / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.2564, allocations: 3.938 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.2564, allocations: 0 / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.2569, allocations: 99.66 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.257, allocations: 11.98 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2572, allocations: 11.98 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.2572, allocations: 7.938 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.876e-05/0.2572, allocations: 7.984 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.2572, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.2575, allocations: 87.84 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.2575, allocations: 11.92 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.2575, allocations: 0 / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.2577, allocations: 91.81 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2577, allocations: 4 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2578, allocations: 0 / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.2578, allocations: 0 / 0.953 GB, free: 6.109 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.0004994/0.2583, allocations: 347.5 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2583, allocations: 8.031 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.2584, allocations: 0.9375 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2585, allocations: 168.3 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2585, allocations: 8.312 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2586, allocations: 4.375 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.2587, allocations: 42.23 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.2587, allocations: 4.125 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2587, allocations: 3.938 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2587, allocations: 0 / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.2587, allocations: 4 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.2589, allocations: 161.6 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.401e-05/0.259, allocations: 30.55 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.259, allocations: 16.86 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.259, allocations: 3.984 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.2592, allocations: 55.48 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2592, allocations: 4 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001867/0.2594, allocations: 69.56 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.2595, allocations: 59.33 kB / 0.954 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2596, allocations: 101.9 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2597, allocations: 25.7 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.2597, allocations: 80.14 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.2597, allocations: 11.91 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.2598, allocations: 21.7 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.26, allocations: 310.8 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.26, allocations: 15.98 kB / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.2601, allocations: 31.42 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.2601, allocations: 51.38 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2601, allocations: 3.984 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001085/0.2602, allocations: 69.53 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2603, allocations: 8.031 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2603, allocations: 4 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2603, allocations: 4 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.2604, allocations: 7.938 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2604, allocations: 4 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.2604, allocations: 0 / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2604, allocations: 8 kB / 0.9547 GB, free: 4.145 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 7.056e-05/0.2605, allocations: 111.8 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.2605, allocations: 7.938 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.2606, allocations: 11.5 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2606, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2606, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2606, allocations: 3.938 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.2608, allocations: 149.7 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2608, allocations: 0 / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.2608, allocations: 4 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.2608, allocations: 3.938 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.2608, allocations: 3.984 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2608, allocations: 0 / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2608, allocations: 0 / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.2609, allocations: 97.39 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.261, allocations: 85.03 kB / 0.9551 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.261, allocations: 3.938 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.2611, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.2611, allocations: 8.031 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2611, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.2612, allocations: 79.28 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2612, allocations: 4 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002475/0.2614, allocations: 31.98 kB / 0.9553 GB, free: 3.453 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.0003096/0.2617, allocations: 167.3 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2619, allocations: 27.92 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2619, allocations: 0 / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.2619, allocations: 12.19 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.2621, allocations: 11.98 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.2623, allocations: 98.83 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.2627, allocations: 0.6805 MB / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.2627, allocations: 4 kB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.2627, allocations: 7.438 kB / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of SimCode: time 7.094e-06/0.2627, allocations: 0 / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of Templates: time 0.003409/0.2662, allocations: 1.004 MB / 0.9572 GB, free: 1.402 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 gbode -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