Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_10_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.00132/0.00132, allocations: 103.4 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.001325/0.001325, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.91 kB / 0.8688 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.716, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001999/0.7181, allocations: 1.28 MB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006685/0.7187, allocations: 410.7 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.7188, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.7188, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.7189, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.7193, allocations: 91.8 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.265e-05/0.7193, allocations: 11.98 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.7194, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.7194, allocations: 11.92 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.55e-05/0.7194, allocations: 11.98 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.7195, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.7196, allocations: 91.84 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.7197, allocations: 7.938 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.7197, allocations: 3.984 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.7198, allocations: 87.81 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7198, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7198, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7199, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 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.0003964/0.7203, allocations: 347.5 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.7203, allocations: 8.031 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.7204, allocations: 33 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.7204, allocations: 8.938 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.065e-05/0.7205, allocations: 168.2 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.7205, allocations: 384 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.7205, allocations: 12.36 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.7206, allocations: 42.25 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7206, allocations: 3.938 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.7206, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.7207, allocations: 3.938 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.7207, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.721, allocations: 244.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.721, allocations: 46.44 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.7211, allocations: 16.94 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.7211, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.7212, allocations: 55.41 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.7212, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001732/0.7214, allocations: 77.61 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.7214, allocations: 59.41 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.7215, allocations: 94 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.7215, allocations: 29.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.7215, allocations: 88.12 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.7216, allocations: 11.75 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.7216, allocations: 21.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.7217, allocations: 318.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.7217, allocations: 4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.7218, allocations: 39.42 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.7218, allocations: 51.41 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7218, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.28e-05/0.7219, allocations: 81.55 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.7219, allocations: 9.625 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.7219, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.722, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.722, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.722, allocations: 4.25 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.7221, allocations: 3.906 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.7221, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 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 6.821e-05/0.7221, allocations: 122.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.7222, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.7222, allocations: 7.562 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7222, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7222, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.7222, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.7224, allocations: 302.5 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7224, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.7224, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7224, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.7225, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7225, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.7225, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.7226, allocations: 171.3 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.7226, allocations: 81.02 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.7226, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.7227, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.7227, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.7227, allocations: 7.984 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.7228, allocations: 83.28 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7228, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002473/0.723, allocations: 31.94 kB / 1.021 GB, free: 13.61 MB / 0.7794 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.0005699/0.7236, allocations: 0.7738 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.658e-05/0.7237, allocations: 43.91 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.7237, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.7237, allocations: 12 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.7239, allocations: 0.7031 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.7248, allocations: 1.265 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.725, allocations: 0.6807 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.725, allocations: 3.938 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.725, allocations: 15.44 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.725, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.356/2.081, allocations: 1.864 MB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003534/2.081, allocations: 264.6 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/4.074, allocations: 4 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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