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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007706/0.007706, allocations: 98.98 kB / 15.73 MB, free: 6.008 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.001777/0.001777, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8903, allocations: 140.4 MB / 1.088 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001961/0.8923, allocations: 1.21 MB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008069/0.8931, allocations: 401.1 kB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.8931, allocations: 5.031 kB / 1.089 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.8931, allocations: 4 kB / 1.089 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.8932, allocations: 0 / 1.089 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.8937, allocations: 95.36 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.8938, allocations: 19.14 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.8938, allocations: 1.734 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.8938, allocations: 5.078 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.531e-05/0.8939, allocations: 16.78 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.8939, allocations: 1.719 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.8941, allocations: 94.39 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.8941, allocations: 5.953 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.8941, allocations: 12.36 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.8943, allocations: 79.48 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.8943, allocations: 0 / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8943, allocations: 0 / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.8943, allocations: 0 / 1.09 GB, free: 4.535 MB / 0.8575 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.000368/0.8947, allocations: 358.1 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.8948, allocations: 9.094 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.8948, allocations: 6.922 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.851e-05/0.8949, allocations: 162.6 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.8949, allocations: 6.25 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.8949, allocations: 11.5 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.895, allocations: 34.66 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.895, allocations: 1.25 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.895, allocations: 8.734 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.895, allocations: 0.9688 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.895, allocations: 4.25 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.8952, allocations: 154.7 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.8952, allocations: 40.28 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.8953, allocations: 15.25 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.8953, allocations: 0.5156 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.8954, allocations: 53.97 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.8954, allocations: 0 / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.8956, allocations: 73.44 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.8956, allocations: 57.97 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.8957, allocations: 102.9 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.8957, allocations: 26.58 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.8957, allocations: 86.03 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.8957, allocations: 6.656 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.8958, allocations: 20.52 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.8958, allocations: 317.5 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.8958, allocations: 9.281 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.8959, allocations: 37.41 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.992e-05/0.8959, allocations: 45.5 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8959, allocations: 0 / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.124e-05/0.896, allocations: 69.94 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.896, allocations: 10.72 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.8961, allocations: 432 / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8961, allocations: 2.406 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.8961, allocations: 15.7 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8962, allocations: 1.125 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.8962, allocations: 10.02 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.8962, allocations: 2.75 kB / 1.091 GB, free: 2.785 MB / 0.8575 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 4.744e-05/0.8963, allocations: 118 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.8963, allocations: 5.547 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.8963, allocations: 9.094 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8963, allocations: 0 / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8963, allocations: 1.094 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8963, allocations: 0.5625 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.764e-05/0.8964, allocations: 158.2 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8964, allocations: 0 / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.8964, allocations: 6.688 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8964, allocations: 3.938 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.8965, allocations: 5.688 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.8965, allocations: 5.766 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8965, allocations: 0 / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.8966, allocations: 82.06 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.8966, allocations: 82.77 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.8966, allocations: 5 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.8967, allocations: 1.828 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.8967, allocations: 2.312 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.8967, allocations: 14.09 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.8967, allocations: 78.58 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8967, allocations: 0 / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002478/0.897, allocations: 30.97 kB / 1.092 GB, free: 2.172 MB / 0.8575 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.0002928/0.8973, allocations: 152.4 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.8974, allocations: 32.94 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8974, allocations: 4.812 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.8975, allocations: 16.73 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.8976, allocations: 2.484 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.8978, allocations: 101.7 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.8979, allocations: 0.6768 MB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.8979, allocations: 3.828 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.8979, allocations: 13.31 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8979, allocations: 3.938 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.003492/0.9014, allocations: 1.015 MB / 1.094 GB, free: 1.094 MB / 0.8575 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 -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/jenkins/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