Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.004913/0.004913, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001254/0.001254, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.72/2.72, allocations: 469.4 MB / 0.7422 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.12 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3312, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002443/0.3337, allocations: 1.23 MB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.3347, allocations: 440.4 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.3348, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.3348, allocations: 3.938 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.3348, allocations: 4 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.3354, allocations: 115.6 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.3355, allocations: 19.88 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.3356, allocations: 7.984 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.26e-05/0.3356, allocations: 4 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.283e-05/0.3356, allocations: 15.92 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3356, allocations: 0 / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.3359, allocations: 103.9 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3359, allocations: 7.922 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3359, allocations: 15.92 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3361, allocations: 95.69 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3362, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3362, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3362, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 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.0004722/0.3367, allocations: 408.7 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3367, allocations: 8.031 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.3368, allocations: 30.75 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.3368, allocations: 4.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.767e-05/0.3369, allocations: 168.3 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3369, allocations: 4.375 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.3369, allocations: 384 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.337, allocations: 42.25 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3371, allocations: 3.938 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3371, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3371, allocations: 4 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.3371, allocations: 11.92 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.3374, allocations: 245 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.731e-05/0.3375, allocations: 38.5 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.3376, allocations: 16.86 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.3376, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.3378, allocations: 71.42 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3378, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002141/0.338, allocations: 73.64 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.338, allocations: 55.39 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.3381, allocations: 101.9 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.3381, allocations: 25.7 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3382, allocations: 96.12 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.3382, allocations: 7.891 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.3382, allocations: 21.72 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.3383, allocations: 318.8 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.3384, allocations: 11.94 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.3384, allocations: 31.42 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.555e-05/0.3385, allocations: 59.36 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3385, allocations: 3.938 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001008/0.3386, allocations: 73.56 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3386, allocations: 8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3386, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3386, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.3387, allocations: 8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3387, allocations: 12.14 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.3387, allocations: 11.88 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3388, allocations: 7.984 kB / 1.224 GB, free: 10.39 MB / 0.9825 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 0.0001108/0.3389, allocations: 119.2 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.3389, allocations: 3.953 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.3389, allocations: 3.969 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3389, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3389, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3389, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.3392, allocations: 310.5 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3392, allocations: 4.5 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.3392, allocations: 4 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3392, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3392, allocations: 4 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3393, allocations: 3.984 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3393, allocations: 0 / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3394, allocations: 159.5 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.3395, allocations: 89.06 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3395, allocations: 3.984 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.3395, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.3396, allocations: 4 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3396, allocations: 0 / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.3396, allocations: 87.27 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3396, allocations: 0 / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002847/0.3399, allocations: 39.81 kB / 1.224 GB, free: 9.465 MB / 0.9825 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.0006524/0.3406, allocations: 0.7675 MB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3407, allocations: 36.23 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3407, allocations: 3.938 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.3407, allocations: 20.11 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3409, allocations: 4 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009938/0.3419, allocations: 1.306 MB / 1.226 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3422, allocations: 0.6768 MB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.3422, allocations: 8 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.3423, allocations: 7.438 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3423, allocations: 0 / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.36, allocations: 2.115 MB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.112, allocations: 10.5 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y