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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001468/0.001468, allocations: 188 kB / 16.14 MB, free: 6.645 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5435, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00178/0.5453, allocations: 1.278 MB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005999/0.5459, allocations: 420.6 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.546, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.546, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.546, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.5464, allocations: 77.86 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.287e-05/0.5464, allocations: 10.94 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.5465, allocations: 5.703 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.5465, allocations: 11.05 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.5465, allocations: 12.03 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.5465, allocations: 0 / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.5467, allocations: 97.39 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.5467, allocations: 5.438 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.5467, allocations: 6.938 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.5469, allocations: 84.81 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5469, allocations: 0 / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5469, allocations: 1.375 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.5469, allocations: 0 / 0.951 GB, free: 7.602 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.0003013/0.5472, allocations: 349.2 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5472, allocations: 9.625 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.5473, allocations: 38.38 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.5473, allocations: 2.312 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.564e-05/0.5474, allocations: 169.7 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.5474, allocations: 1.75 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.5474, allocations: 3.125 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.558e-05/0.5475, allocations: 39.75 kB / 0.9516 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5475, allocations: 5.312 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.5475, allocations: 7.984 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.5475, allocations: 0 / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.5475, allocations: 9.484 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.5478, allocations: 242.5 kB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.5478, allocations: 41.45 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.5479, allocations: 17.19 kB / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.5479, allocations: 4 kB / 0.9519 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.932e-05/0.548, allocations: 61.02 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.548, allocations: 0 / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001497/0.5481, allocations: 70.5 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.5482, allocations: 56.78 kB / 0.9521 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.823e-05/0.5482, allocations: 97.97 kB / 0.9522 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.5482, allocations: 29.7 kB / 0.9522 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.5482, allocations: 85.52 kB / 0.9523 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.5482, allocations: 14.5 kB / 0.9523 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.5483, allocations: 23.2 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.5483, allocations: 320.2 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.5483, allocations: 5.5 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.5484, allocations: 35.67 kB / 0.9526 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.5484, allocations: 53.36 kB / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5484, allocations: 5.406 kB / 0.9527 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.435e-05/0.5485, allocations: 69.38 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5485, allocations: 7.062 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.5485, allocations: 5.344 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.5486, allocations: 1.406 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.5486, allocations: 15.58 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5486, allocations: 2.469 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.5487, allocations: 9.438 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5487, allocations: 3.188 kB / 0.9528 GB, free: 5.672 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.044e-05/0.5487, allocations: 115.4 kB / 0.9529 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.5487, allocations: 5.812 kB / 0.9529 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.5487, allocations: 5.312 kB / 0.9529 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5487, allocations: 3.984 kB / 0.9529 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5488, allocations: 5.344 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5488, allocations: 3.984 kB / 0.9529 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.5489, allocations: 305.2 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.5489, allocations: 1.688 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.5489, allocations: 3.25 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.549, allocations: 0 / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.549, allocations: 3.984 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.549, allocations: 1.5 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.549, allocations: 0 / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.153e-05/0.5491, allocations: 167.7 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.5491, allocations: 82.23 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.5491, allocations: 5.109 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.5492, allocations: 1.312 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.5492, allocations: 1.625 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.5492, allocations: 1.375 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.786e-05/0.5492, allocations: 81.91 kB / 0.9536 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5492, allocations: 0 / 0.9536 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002486/0.5495, allocations: 37.58 kB / 0.9536 GB, free: 4.848 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.0004276/0.5499, allocations: 0.7738 MB / 0.9544 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.211e-05/0.55, allocations: 35.52 kB / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.55, allocations: 1.344 kB / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.55, allocations: 17.66 kB / 0.9544 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.5502, allocations: 5.422 kB / 0.9544 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.5509, allocations: 1.248 MB / 0.9556 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.889e-05/0.551, allocations: 0.6791 MB / 0.9563 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.551, allocations: 6.5 kB / 0.9563 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.551, allocations: 13.94 kB / 0.9563 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.551, allocations: 0 / 0.9563 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.861/1.412, allocations: 1.823 MB / 0.9581 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.412, allocations: 259.3 kB / 0.9583 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.557, allocations: 0 / 0.9583 GB, free: 0.8906 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