Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.006325/0.006325, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001326/0.001326, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.36/2.36, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.9504 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9251/0.9264, allocations: 140.4 MB / 1.087 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002496/0.9289, allocations: 1.23 MB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.93, allocations: 444.7 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.9301, allocations: 0 / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.9301, allocations: 0.9375 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.9302, allocations: 5.156 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.9307, allocations: 112.1 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.9308, allocations: 20.72 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.9309, allocations: 3.734 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.9309, allocations: 9.016 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.931, allocations: 10.55 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.931, allocations: 1.031 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.9312, allocations: 107.5 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.9313, allocations: 10.92 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.9313, allocations: 12.56 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.9315, allocations: 98.44 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9316, allocations: 1.219 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9316, allocations: 4.656 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.9316, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 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.0004655/0.932, allocations: 386.5 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9321, allocations: 9.5 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.9322, allocations: 37.28 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.9322, allocations: 10.94 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.9323, allocations: 171.2 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.9323, allocations: 6.141 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.9323, allocations: 3.688 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.9325, allocations: 46.14 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.9325, allocations: 3.938 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.9325, allocations: 1.781 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.9325, allocations: 0 / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.9325, allocations: 5.516 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.9328, allocations: 250 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.9329, allocations: 40.98 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.933, allocations: 13.94 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.933, allocations: 5.062 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.9332, allocations: 56.52 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.9332, allocations: 0 / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002253/0.9334, allocations: 72.59 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.9335, allocations: 60.78 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.9335, allocations: 112.5 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.9336, allocations: 27.02 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.9336, allocations: 81.73 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.9336, allocations: 11.61 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.9337, allocations: 21.31 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.9337, allocations: 317.1 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.9338, allocations: 7.281 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.9338, allocations: 37.77 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.9339, allocations: 49.05 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9339, allocations: 3.938 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001238/0.934, allocations: 76.89 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.934, allocations: 10.14 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.934, allocations: 1.406 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9341, allocations: 1.703 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.9341, allocations: 13.44 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9341, allocations: 1.891 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.9342, allocations: 5.75 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.9342, allocations: 7.094 kB / 1.091 GB, free: 2.09 MB / 0.8575 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.428e-05/0.9343, allocations: 121.9 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.9343, allocations: 9.844 kB / 1.091 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.9343, allocations: 9.719 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.9343, allocations: 0.5625 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.9343, allocations: 5.062 kB / 1.091 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.9343, allocations: 0.7031 kB / 1.091 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.9346, allocations: 301.6 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9346, allocations: 1.031 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.9346, allocations: 7.797 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9346, allocations: 0.6094 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.9346, allocations: 1.859 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9346, allocations: 0 / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9347, allocations: 5.125 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.9348, allocations: 162.4 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.9348, allocations: 83.2 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.9348, allocations: 4.609 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.9349, allocations: 1.984 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.9349, allocations: 3 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.9349, allocations: 6 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.935, allocations: 85.52 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.935, allocations: 0 / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003214/0.9353, allocations: 39.5 kB / 1.092 GB, free: 1.281 MB / 0.8575 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.0007224/0.936, allocations: 0.7756 MB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.9362, allocations: 32.27 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9362, allocations: 0 / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.9362, allocations: 15.03 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.9365, allocations: 9.062 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.9376, allocations: 1.288 MB / 1.094 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.9379, allocations: 0.6796 MB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.9379, allocations: 3.781 kB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.938, allocations: 14.48 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.938, allocations: 0 / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.9575, allocations: 2.102 MB / 1.097 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.999, allocations: 15.38 kB / 1.097 GB, free: 14.12 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches