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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_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.005321/0.005321, allocations: 102 kB / 15.73 MB, free: 6.051 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.001217/0.001217, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.36/1.36, 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.355/2.355, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.88 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9655/0.967, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002431/0.9695, allocations: 1.217 MB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008765/0.9703, allocations: 405.2 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.9704, allocations: 0 / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.9704, allocations: 3.938 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.9705, allocations: 5.109 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.971, allocations: 102 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.9711, allocations: 10.42 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.9712, allocations: 3.781 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.9712, allocations: 8.547 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.9712, allocations: 12.83 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.9713, allocations: 4.938 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.9715, allocations: 95.58 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.9715, allocations: 2.266 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.9716, allocations: 11.8 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.9718, allocations: 81.39 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.9718, allocations: 1.453 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9718, allocations: 0 / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9718, allocations: 0 / 1.089 GB, free: 4.039 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.0004372/0.9723, allocations: 345.5 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9723, allocations: 14.14 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.9724, allocations: 35.33 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.9724, allocations: 5.844 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.9725, allocations: 167.1 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.9725, allocations: 2.078 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.9725, allocations: 3.688 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.9726, allocations: 41.61 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9727, allocations: 3.938 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.9727, allocations: 0.6094 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9727, allocations: 0.9688 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.9727, allocations: 9.781 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.973, allocations: 242.9 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.9731, allocations: 40.75 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.9731, allocations: 19.09 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.9732, allocations: 0.6562 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.9733, allocations: 62.38 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.9733, allocations: 0 / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002107/0.9735, allocations: 84.83 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.9736, allocations: 52.92 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.9736, allocations: 100.8 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.9736, allocations: 26.64 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.9737, allocations: 85.88 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.9737, allocations: 22.52 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.9737, allocations: 20.73 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.9738, allocations: 314.1 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.9738, allocations: 10.94 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.9739, allocations: 34.69 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.9739, allocations: 55.52 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9739, allocations: 3.938 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001082/0.974, allocations: 77.16 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9741, allocations: 5.562 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.9741, allocations: 1.156 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9741, allocations: 6.156 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.9742, allocations: 8.188 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.9742, allocations: 3.016 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.9742, allocations: 9.125 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.9742, allocations: 3.031 kB / 1.091 GB, free: 2.164 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 (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 5.853e-05/0.9743, allocations: 114.4 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.9743, allocations: 1.188 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.9743, allocations: 9.344 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.9743, allocations: 0 / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9744, allocations: 1.828 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.9744, allocations: 3.938 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.9746, allocations: 305 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9746, allocations: 0 / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.9746, allocations: 3.812 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9746, allocations: 0.7969 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.9746, allocations: 1.094 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9746, allocations: 1.391 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9746, allocations: 0 / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.9748, allocations: 171.3 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.9748, allocations: 82.75 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.9748, allocations: 9.75 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.9749, allocations: 0.5156 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.9749, allocations: 3.031 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.9749, allocations: 2.297 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.975, allocations: 78.78 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.975, allocations: 0 / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000308/0.9753, allocations: 31.62 kB / 1.092 GB, free: 1.379 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,$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.0006913/0.976, allocations: 0.7746 MB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.9761, allocations: 32.48 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9761, allocations: 1.375 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.9762, allocations: 21.88 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.9764, allocations: 6.938 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.9775, allocations: 1.255 MB / 1.094 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.9778, allocations: 0.6807 MB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.9778, allocations: 8.172 kB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.9778, allocations: 14.33 kB / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of SimCode: time 8.41e-07/0.9778, allocations: 3.938 kB / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.9989, allocations: 1.962 MB / 1.097 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/9.167, allocations: 9.094 kB / 1.097 GB, free: 14.27 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > 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:k,lambda,seed,time,y