Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001348/0.001348, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.00131/0.00131, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.627/2.627, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 77.8 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002372/0.3181, allocations: 1.27 MB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.3189, allocations: 406.7 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.3189, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.319, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.319, allocations: 3.938 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.3195, allocations: 87.8 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.3196, allocations: 11.98 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.3196, allocations: 7.938 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.3197, allocations: 7.984 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.629e-05/0.3197, allocations: 7.984 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3197, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3199, allocations: 91.84 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.3199, allocations: 11.94 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.3199, allocations: 3.984 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3201, allocations: 63.84 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3201, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3201, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.3201, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 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.0004617/0.3206, allocations: 343.6 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3206, allocations: 12.03 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.3206, allocations: 0.9375 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3208, allocations: 176.5 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3208, allocations: 384 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3208, allocations: 384 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.3209, allocations: 42.19 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3209, allocations: 192 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.321, allocations: 3.938 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.321, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.321, allocations: 11.98 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.3212, allocations: 161.7 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.843e-05/0.3213, allocations: 26.58 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.3213, allocations: 12.94 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-06/0.3213, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.3215, allocations: 55.34 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3215, allocations: 4 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.3217, allocations: 69.8 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3217, allocations: 55.41 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.3218, allocations: 105.8 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3218, allocations: 25.7 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.3219, allocations: 84.14 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3219, allocations: 11.84 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.322, allocations: 17.72 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3221, allocations: 318.8 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.3221, allocations: 11.94 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.3222, allocations: 35.42 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.3222, allocations: 43.38 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3223, allocations: 7.938 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/0.3224, allocations: 65.53 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3224, allocations: 11.94 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3224, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.3224, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.3225, allocations: 15.98 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3225, allocations: 160 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.3225, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3225, allocations: 4.078 kB / 1.068 GB, free: 11.2 MB / 0.8419 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.048e-05/0.3226, allocations: 123.5 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.3226, allocations: 7.938 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.3227, allocations: 7.5 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3227, allocations: 3.984 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3227, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3227, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3228, allocations: 157.6 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3228, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.3229, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3229, allocations: 11.94 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3229, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3229, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.3229, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3231, allocations: 93.05 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3231, allocations: 81.05 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3231, allocations: 3.938 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.3232, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.3232, allocations: 11.98 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3232, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.3232, allocations: 79.28 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.942e-06/0.3233, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002279/0.3235, allocations: 27.94 kB / 1.068 GB, free: 10.5 MB / 0.8419 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.000345/0.3238, allocations: 177.2 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.523e-05/0.3239, allocations: 27.92 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.324, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.324, allocations: 12 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.3241, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.3244, allocations: 130.7 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3247, allocations: 0.6769 MB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.3247, allocations: 11.44 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of SimCode: time 2.214e-06/0.3248, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of Templates: time 0.002941/0.3277, allocations: 1.173 MB / 1.07 GB, free: 8.246 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches