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.001238/0.001238, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001204/0.001204, allocations: 195.9 kB / 16.25 MB, free: 6.633 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.101/2.101, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.89 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5017, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00188/0.5036, allocations: 1.277 MB / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.5043, allocations: 404.6 kB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.5043, allocations: 4 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.5043, allocations: 0 / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.314e-05/0.5044, allocations: 5.312 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.5048, allocations: 82.11 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.643e-05/0.5048, allocations: 12.19 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.5049, allocations: 1.375 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.5049, allocations: 16.09 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.085e-05/0.5049, allocations: 6.688 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.505, allocations: 0 / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.5051, allocations: 90.52 kB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.5051, allocations: 5.375 kB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.5052, allocations: 14.69 kB / 0.9511 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.5053, allocations: 90.12 kB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5053, allocations: 0 / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5053, allocations: 0 / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5053, allocations: 1.375 kB / 0.9512 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.0003097/0.5056, allocations: 345.2 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5057, allocations: 9.625 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.5057, allocations: 34.38 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.5057, allocations: 6.312 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.264e-05/0.5058, allocations: 165.8 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.5058, allocations: 1.75 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.5058, allocations: 7.125 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/0.5059, allocations: 35.75 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5059, allocations: 3.938 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.5059, allocations: 5.359 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5059, allocations: 0 / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.506, allocations: 19.98 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.5062, allocations: 247.9 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/0.5063, allocations: 33.86 kB / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.5063, allocations: 19.75 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.5063, allocations: 1.125 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.5064, allocations: 68.77 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.5064, allocations: 0 / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001607/0.5066, allocations: 71.03 kB / 0.9522 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.5066, allocations: 52.84 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.892e-05/0.5067, allocations: 100.5 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.5067, allocations: 27.55 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.397e-05/0.5067, allocations: 80.14 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.5067, allocations: 18.66 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.5068, allocations: 31.14 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.5068, allocations: 316.5 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.5068, allocations: 9.312 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.5069, allocations: 35.52 kB / 0.9528 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.082e-05/0.5069, allocations: 53.92 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5069, allocations: 3.938 kB / 0.9529 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.591e-05/0.507, allocations: 67.41 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.507, allocations: 4.906 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.507, allocations: 1.625 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.507, allocations: 1.375 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.5071, allocations: 11.98 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.5071, allocations: 1.375 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.5071, allocations: 9.031 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.5072, allocations: 10.38 kB / 0.953 GB, free: 5.668 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.253e-05/0.5072, allocations: 112.9 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.5072, allocations: 1.531 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.5072, allocations: 8.812 kB / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5073, allocations: 5.078 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5073, allocations: 0 / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5073, allocations: 3.984 kB / 0.9531 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.5074, allocations: 298.6 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5074, allocations: 4 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.5075, allocations: 6.562 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5075, allocations: 1.406 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.5075, allocations: 1.438 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5075, allocations: 7.922 kB / 0.9534 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5075, allocations: 0 / 0.9534 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.578e-05/0.5076, allocations: 165.2 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.5076, allocations: 85.02 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.5076, allocations: 5.281 kB / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.5077, allocations: 5.484 kB / 0.9537 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.5077, allocations: 1.375 kB / 0.9537 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.5077, allocations: 1.312 kB / 0.9537 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.5077, allocations: 77.75 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5077, allocations: 0 / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002693/0.508, allocations: 41.73 kB / 0.9538 GB, free: 4.844 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.0004273/0.5084, allocations: 0.7676 MB / 0.9545 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.11e-05/0.5085, allocations: 36.52 kB / 0.9546 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5086, allocations: 0 / 0.9546 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.5086, allocations: 9.969 kB / 0.9546 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.5088, allocations: 13.7 kB / 0.9546 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.5094, allocations: 1.253 MB / 0.9558 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.787e-05/0.5095, allocations: 0.6836 MB / 0.9565 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.5096, allocations: 6.5 kB / 0.9565 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.5096, allocations: 9 kB / 0.9565 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5096, allocations: 0 / 0.9565 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.5197, allocations: 1.859 MB / 0.9583 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/0.5199, allocations: 261.3 kB / 0.9586 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.108, allocations: 2 kB / 0.9586 GB, free: 0.8711 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