Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_10_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.001087/0.001087, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00879/0.00879, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.000305, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5401, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001085/0.5412, allocations: 0.9488 MB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007168/0.5419, allocations: 398.8 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.5419, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.542, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.542, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.5424, allocations: 87.78 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.578e-05/0.5424, allocations: 12 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.5425, allocations: 3.984 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.5425, allocations: 7.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.5425, allocations: 15.97 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.5425, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.5427, allocations: 87.84 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.5427, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.5428, allocations: 33.64 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.5429, allocations: 83.81 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5429, allocations: 8 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5429, allocations: 0 / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5429, allocations: 0 / 1.025 GB, free: 14.13 MB / 0.7794 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.0003523/0.5433, allocations: 348.9 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5433, allocations: 8.031 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.5434, allocations: 36.94 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.5434, allocations: 4.938 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.5435, allocations: 168.3 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.5435, allocations: 4.375 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.5435, allocations: 8.312 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.5436, allocations: 38.25 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.5436, allocations: 3.938 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.5437, allocations: 7.984 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.5437, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.5437, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.544, allocations: 256.9 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.414e-05/0.544, allocations: 34.45 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.5441, allocations: 20.94 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5441, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.5442, allocations: 51.41 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.775e-06/0.5442, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001694/0.5444, allocations: 81.61 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.5444, allocations: 51.41 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.5445, allocations: 101.8 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.5445, allocations: 29.7 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.5446, allocations: 80.14 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.5446, allocations: 15.75 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.5446, allocations: 13.72 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.5447, allocations: 318.8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.5447, allocations: 12 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.5448, allocations: 35.42 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.5448, allocations: 43.38 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.5448, allocations: 3.938 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.669e-05/0.5449, allocations: 85.55 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.545, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.545, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.545, allocations: 4 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.545, allocations: 8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.545, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.5451, allocations: 3.906 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5451, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 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 7.339e-05/0.5452, allocations: 126.2 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-06/0.5452, allocations: 4.062 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.5452, allocations: 3.844 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5452, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5452, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5452, allocations: 3.984 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.5455, allocations: 314.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5455, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.5455, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5455, allocations: 4 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.5455, allocations: 4 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5455, allocations: 3.938 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5455, allocations: 3.938 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.5456, allocations: 163.5 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.5457, allocations: 85.02 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.5457, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.748e-05/0.5458, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.5458, allocations: 3.984 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.5458, allocations: 8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.5458, allocations: 79.28 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5458, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002485/0.5461, allocations: 31.94 kB / 1.027 GB, free: 11.09 MB / 0.7794 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.0005604/0.5467, allocations: 0.7628 MB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.323e-05/0.5467, allocations: 39.92 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5468, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.5468, allocations: 15.97 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.547, allocations: 8.688 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.5479, allocations: 1.259 MB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.5481, allocations: 0.6775 MB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.5481, allocations: 3.984 kB / 1.03 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.5481, allocations: 15.44 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5481, allocations: 4 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9957/1.544, allocations: 1.728 MB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/1.544, allocations: 265.4 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/3.465, allocations: 4 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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