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.0101/0.0101, allocations: 101 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.002296/0.002297, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.631/2.631, allocations: 437.1 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.322, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002337/0.3244, allocations: 1.204 MB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.3253, allocations: 411 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.3254, allocations: 0 / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.3254, allocations: 3.938 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.3255, allocations: 3.984 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.326, allocations: 99.66 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.3261, allocations: 19.92 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.3262, allocations: 3.984 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.3262, allocations: 8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.984e-05/0.3262, allocations: 7.938 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3262, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.3265, allocations: 95.89 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.3265, allocations: 4 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.3265, allocations: 7.938 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3267, allocations: 83.81 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3267, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3267, allocations: 4 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.036e-06/0.3267, allocations: 4 kB / 1.168 GB, free: 5.418 MB / 0.92 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.0004468/0.3272, allocations: 347.5 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3273, allocations: 12.03 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.3273, allocations: 37.47 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.3273, allocations: 4.922 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3275, allocations: 164.4 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3275, allocations: 384 / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3275, allocations: 12.36 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3276, allocations: 38.25 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3276, allocations: 3.938 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3277, allocations: 3.938 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3277, allocations: 4 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.308e-05/0.3277, allocations: 11.98 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.328, allocations: 237 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.3281, allocations: 42.5 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.3282, allocations: 16.86 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3282, allocations: 0 / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.3284, allocations: 59.42 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3284, allocations: 0 / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.000229/0.3286, allocations: 77.59 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.3287, allocations: 51.41 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.3288, allocations: 105.8 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3288, allocations: 25.7 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.3288, allocations: 80.14 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3289, allocations: 20.39 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3289, allocations: 21.7 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.329, allocations: 322.8 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.3291, allocations: 4 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.3291, allocations: 39.42 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.3292, allocations: 51.36 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3292, allocations: 3.938 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001235/0.3293, allocations: 69.77 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3294, allocations: 7.938 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3294, allocations: 8.062 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3294, allocations: 4.031 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.3295, allocations: 11.98 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3295, allocations: 3.938 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.3295, allocations: 12.22 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3295, allocations: 160 / 1.17 GB, free: 3.285 MB / 0.92 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 9.418e-05/0.3296, allocations: 117.8 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.3297, allocations: 8.156 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3297, allocations: 7.562 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3297, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3297, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3297, allocations: 3.984 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.33, allocations: 298.5 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.33, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.33, allocations: 4 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.33, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3301, allocations: 7.984 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3301, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3301, allocations: 3.984 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.3302, allocations: 167.5 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.3303, allocations: 77.11 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3303, allocations: 3.984 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/0.3304, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.3304, allocations: 4 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3304, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.3305, allocations: 79.28 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.864e-06/0.3305, allocations: 4 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002977/0.3308, allocations: 39.86 kB / 1.171 GB, free: 2.367 MB / 0.92 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.000715/0.3315, allocations: 0.7757 MB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3316, allocations: 32.16 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3316, allocations: 0 / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.3317, allocations: 12 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3319, allocations: 11.98 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.333, allocations: 1.264 MB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3332, allocations: 0.6729 MB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.3333, allocations: 7.984 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.3333, allocations: 11.53 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3333, allocations: 3.938 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.3531, allocations: 1.967 MB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.794, allocations: 3.953 kB / 1.175 GB, free: 13.62 MB / 0.9356 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