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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 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.001133/0.001133, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.207/1.207, 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 9.1.3-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.5172, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002102/0.5193, allocations: 1.206 MB / 0.9509 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.52, allocations: 415.6 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.5201, allocations: 0 / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.5201, allocations: 0 / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.5202, allocations: 5.188 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.5206, allocations: 90.47 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.5207, allocations: 18.89 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.5207, allocations: 6.016 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.5207, allocations: 4.125 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.5208, allocations: 10.09 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.5208, allocations: 5.094 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.521, allocations: 98.33 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.521, allocations: 5.188 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.521, allocations: 10.75 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.5212, allocations: 81.59 kB / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5212, allocations: 0 / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5212, allocations: 1.156 kB / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.5212, allocations: 0 / 0.9516 GB, free: 7.742 MB / 0.7169 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.0003575/0.5215, allocations: 350.7 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5216, allocations: 8.562 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.5216, allocations: 38.34 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.5217, allocations: 6.203 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.376e-05/0.5217, allocations: 161.7 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5217, allocations: 1.688 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.5218, allocations: 2.938 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.5218, allocations: 44.28 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.5219, allocations: 5.156 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.5219, allocations: 0 / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5219, allocations: 1 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.5219, allocations: 12.52 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.5221, allocations: 246.3 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.5222, allocations: 38.31 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.5223, allocations: 20.23 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.5223, allocations: 0 / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-05/0.5224, allocations: 61.05 kB / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5224, allocations: 1.438 kB / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001597/0.5225, allocations: 68.91 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.5226, allocations: 52.81 kB / 0.9527 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.5226, allocations: 106.3 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.5226, allocations: 27.42 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.382e-05/0.5227, allocations: 84.08 kB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.5227, allocations: 21.16 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.5227, allocations: 23.73 kB / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.5227, allocations: 312 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.5228, allocations: 18 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.5228, allocations: 35.67 kB / 0.9533 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.5229, allocations: 62.03 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5229, allocations: 3.938 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.912e-05/0.523, allocations: 67.97 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.523, allocations: 4.094 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.523, allocations: 1.125 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.523, allocations: 1.406 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.5231, allocations: 20.17 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5231, allocations: 1.344 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.5231, allocations: 10.41 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5231, allocations: 10.53 kB / 0.9534 GB, free: 5.793 MB / 0.7169 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 4.308e-05/0.5232, allocations: 112.3 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.5232, allocations: 1.219 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.5232, allocations: 8.969 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5232, allocations: 0 / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5232, allocations: 5.172 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5232, allocations: 0 / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.5234, allocations: 302 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5234, allocations: 0 / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.5234, allocations: 3.188 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5234, allocations: 1.125 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.5234, allocations: 5.172 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5234, allocations: 0 / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5234, allocations: 0 / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.644e-05/0.5235, allocations: 161 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.5236, allocations: 85.89 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.5236, allocations: 4.922 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.5236, allocations: 4 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.5237, allocations: 5.906 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.5237, allocations: 2.156 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.77e-05/0.5237, allocations: 78.09 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5237, allocations: 3.938 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002595/0.524, allocations: 36.92 kB / 0.9542 GB, free: 4.98 MB / 0.7169 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.0004409/0.5244, allocations: 0.7722 MB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.5245, allocations: 36.11 kB / 0.955 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5245, allocations: 0 / 0.955 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.5246, allocations: 21.66 kB / 0.955 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.5247, allocations: 5.578 kB / 0.955 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.5255, allocations: 1.241 MB / 0.9563 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.835e-05/0.5256, allocations: 0.6902 MB / 0.9569 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.5256, allocations: 2.125 kB / 0.9569 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.5256, allocations: 15.55 kB / 0.9569 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5256, allocations: 0 / 0.9569 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5086/1.034, allocations: 1.92 MB / 0.9588 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.955/10.99, allocations: 15.5 kB / 0.9588 GB, free: 1.223 MB / 0.7169 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