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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.668/2.668, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 62.19 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3314, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00238/0.3339, allocations: 1.207 MB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.3347, allocations: 408.5 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.3348, allocations: 4 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.3348, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.3348, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.3353, allocations: 99.7 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.3354, allocations: 15.92 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.3354, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3355, allocations: 7.938 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.3355, allocations: 7.984 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3355, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.3357, allocations: 87.91 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.3358, allocations: 19.92 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3358, allocations: 7.922 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.336, allocations: 83.83 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.336, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.336, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.336, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 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.0005012/0.3365, allocations: 343.6 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3366, allocations: 8.031 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.501e-05/0.3367, allocations: 34.94 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.3367, allocations: 8.938 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3368, allocations: 164.3 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3369, allocations: 8.359 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3369, allocations: 8.312 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.337, allocations: 42.19 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.337, allocations: 3.938 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.337, allocations: 7.938 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.337, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.3371, allocations: 4 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.3375, allocations: 245 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.3376, allocations: 34.5 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.3376, allocations: 20.94 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3376, allocations: 3.938 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.3378, allocations: 59.41 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3378, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002085/0.338, allocations: 81.58 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3381, allocations: 55.39 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.3382, allocations: 101.8 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3382, allocations: 37.62 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.3383, allocations: 84.14 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.3383, allocations: 3.906 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.3383, allocations: 25.72 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3385, allocations: 318.8 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.3385, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.3386, allocations: 39.41 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/0.3386, allocations: 51.38 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3386, allocations: 3.938 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001243/0.3388, allocations: 77.52 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3388, allocations: 8 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3388, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3388, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.3389, allocations: 11.94 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3389, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.3389, allocations: 3.938 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.339, allocations: 12.05 kB / 1.068 GB, free: 10.16 MB / 0.8262 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.588e-05/0.3391, allocations: 117.8 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.3391, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.3391, allocations: 3.562 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3391, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3391, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3391, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.3394, allocations: 310.3 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3395, allocations: 7.938 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.3395, allocations: 4 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3395, allocations: 0 / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3395, allocations: 4 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3395, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3395, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3397, allocations: 163.8 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.3397, allocations: 81.11 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3398, allocations: 4 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.3398, allocations: 4 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.3399, allocations: 3.984 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3399, allocations: 7.938 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.3399, allocations: 83.55 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 0 / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00029/0.3402, allocations: 31.94 kB / 1.069 GB, free: 9.246 MB / 0.8262 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007853/0.341, allocations: 0.7586 MB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.3412, allocations: 35.92 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.3412, allocations: 4 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.3412, allocations: 15.94 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3414, allocations: 8.062 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3426, allocations: 1.262 MB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.343, allocations: 0.6806 MB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.343, allocations: 8 kB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.343, allocations: 11.44 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.343, allocations: 0 / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3731, allocations: 1.935 MB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.9, allocations: 8.672 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > 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) "" Variables in the reference:time,y Variables in the result:k,lambda,seed,time,y