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.007774/0.007774, allocations: 103.9 kB / 15.73 MB, free: 5.992 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.001737/0.001737, allocations: 197.1 kB / 16.67 MB, free: 5.914 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.247/2.247, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8728, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001975/0.8749, allocations: 1.207 MB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.8756, allocations: 405.4 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.8756, allocations: 1.75 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.8757, allocations: 3.938 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.76e-05/0.8757, allocations: 4.734 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.8763, allocations: 102.3 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.8764, allocations: 10 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.8764, allocations: 7.266 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.8765, allocations: 4.562 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.8765, allocations: 12.59 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.8765, allocations: 1.812 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.8768, allocations: 98.86 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.8768, allocations: 10.28 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.8769, allocations: 7.984 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.8771, allocations: 77.58 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8771, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8771, allocations: 1.672 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8772, allocations: 0 / 1.089 GB, free: 4.062 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.0004825/0.8776, allocations: 345.2 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.8777, allocations: 9.047 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.8778, allocations: 39.62 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.8778, allocations: 6.469 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.8779, allocations: 166.7 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.878, allocations: 6.328 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.878, allocations: 3 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.8781, allocations: 41.78 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.8781, allocations: 5.312 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8781, allocations: 0 / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8781, allocations: 1.375 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.8782, allocations: 13.14 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.8785, allocations: 247 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.8787, allocations: 40.64 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.8787, allocations: 18.81 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.8787, allocations: 1.094 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.8789, allocations: 62.11 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.8789, allocations: 1.344 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002488/0.8792, allocations: 79.09 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.8792, allocations: 53.81 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.8793, allocations: 99.67 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.8793, allocations: 26.77 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.8793, allocations: 81.58 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.8794, allocations: 18.7 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.8794, allocations: 21.7 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.8795, allocations: 317.8 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.8795, allocations: 6.938 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.8796, allocations: 34.17 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.8797, allocations: 51.97 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8797, allocations: 5.094 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001174/0.8798, allocations: 71.59 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8798, allocations: 9.406 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8798, allocations: 9.484 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8798, allocations: 2 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.8799, allocations: 13.39 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8799, allocations: 1.156 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.88, allocations: 6.984 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.88, allocations: 2.25 kB / 1.091 GB, free: 2.188 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 7.027e-05/0.8801, allocations: 117.2 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.8801, allocations: 6.828 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.8801, allocations: 4.172 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.8801, allocations: 1.062 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.8801, allocations: 1.688 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.8802, allocations: 0.7031 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.8804, allocations: 303.6 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8804, allocations: 0.5625 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.8804, allocations: 8.516 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8804, allocations: 320 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.8805, allocations: 1.906 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8805, allocations: 4 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8805, allocations: 0.6094 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.8806, allocations: 170.1 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.8807, allocations: 79.2 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.8807, allocations: 6.125 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.8807, allocations: 1.031 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.8808, allocations: 2.844 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.8808, allocations: 2.344 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.8808, allocations: 79 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8808, allocations: 0 / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003296/0.8811, allocations: 34.25 kB / 1.092 GB, free: 1.398 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.0007149/0.8819, allocations: 0.7742 MB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.882, allocations: 32 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.882, allocations: 0 / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.882, allocations: 15.28 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.8823, allocations: 10.98 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.8834, allocations: 1.253 MB / 1.094 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.8836, allocations: 0.6817 MB / 1.095 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.8837, allocations: 7.641 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.8837, allocations: 13.64 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8837, allocations: 0.6562 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07022/0.9539, allocations: 1.988 MB / 1.097 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/9.372, allocations: 11.53 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