Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_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.0008944/0.0008944, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00557/0.00557, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 443.3 MB / 0.7176 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 9.219 kB / 0.8797 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3194, allocations: 155.2 MB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001102/0.3206, allocations: 0.9554 MB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.3213, allocations: 443.3 kB / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.3213, allocations: 0 / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.3214, allocations: 0 / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.338e-05/0.3214, allocations: 3.938 kB / 1.033 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.3218, allocations: 87.78 kB / 1.033 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.152e-05/0.3218, allocations: 19.98 kB / 1.033 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.3219, allocations: 7.875 kB / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.3219, allocations: 23.91 kB / 1.033 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.459e-05/0.3219, allocations: 7.938 kB / 1.033 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.322, allocations: 0 / 1.033 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.3221, allocations: 103.9 kB / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.3222, allocations: 3.984 kB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.3222, allocations: 37.64 kB / 1.033 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3224, allocations: 99.73 kB / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3224, allocations: 0 / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3224, allocations: 0 / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.3224, allocations: 0 / 1.033 GB, free: 2.512 MB / 0.7794 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.000365/0.3228, allocations: 386.8 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3228, allocations: 8.031 kB / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.3229, allocations: 42.64 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.903e-05/0.3229, allocations: 0.9375 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.567e-05/0.323, allocations: 164.4 kB / 1.034 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.323, allocations: 384 / 1.034 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.323, allocations: 4.375 kB / 1.034 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.514e-05/0.3231, allocations: 42.23 kB / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.3231, allocations: 7.938 kB / 1.034 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-06/0.3231, allocations: 0 / 1.034 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3231, allocations: 7.984 kB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.3232, allocations: 11.94 kB / 1.034 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.3234, allocations: 248.8 kB / 1.034 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/0.3235, allocations: 38.5 kB / 1.034 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.3236, allocations: 24.94 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.3236, allocations: 0 / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.3237, allocations: 55.34 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3237, allocations: 0 / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.000177/0.3239, allocations: 73.67 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3239, allocations: 55.41 kB / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.324, allocations: 109.8 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.324, allocations: 25.7 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.3241, allocations: 84.14 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3241, allocations: 15.8 kB / 1.034 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3241, allocations: 17.7 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.3242, allocations: 318.8 kB / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.3242, allocations: 4 kB / 1.035 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.3243, allocations: 39.36 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.3243, allocations: 51.38 kB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3244, allocations: 3.938 kB / 1.035 GB, free: 460 kB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.798e-05/0.3245, allocations: 69.61 kB / 1.035 GB, free: 384 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3245, allocations: 11.94 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3245, allocations: 0 / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.3245, allocations: 64 / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.3246, allocations: 15.98 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3246, allocations: 0 / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.3246, allocations: 16.34 kB / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3246, allocations: 4 kB / 1.035 GB, free: 336 kB / 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.877e-05/0.3247, allocations: 121.7 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.3247, allocations: 4 kB / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.3247, allocations: 3.969 kB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3247, allocations: 0 / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3247, allocations: 4 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3247, allocations: 4 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.325, allocations: 302.5 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.325, allocations: 4 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.325, allocations: 3.938 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.325, allocations: 4.078 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.325, allocations: 8 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.325, allocations: 0 / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.325, allocations: 3.984 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3252, allocations: 163.4 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.3252, allocations: 81.09 kB / 1.036 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.3252, allocations: 4 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.3253, allocations: 4 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.3253, allocations: 0 / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3253, allocations: 4 kB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.3254, allocations: 83.27 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3254, allocations: 0 / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002529/0.3256, allocations: 43.94 kB / 1.036 GB, free: 15.4 MB / 0.795 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.0005754/0.3262, allocations: 0.7726 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.046e-05/0.3263, allocations: 35.92 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3263, allocations: 0 / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.3264, allocations: 19.94 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.3266, allocations: 0 / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3276, allocations: 1.301 MB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.3278, allocations: 0.677 MB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.749e-05/0.3279, allocations: 4 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.3279, allocations: 7.438 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3279, allocations: 0 / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.3499, allocations: 1.858 MB / 1.04 GB, free: 10.71 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.3502, allocations: 260.3 kB / 1.04 GB, free: 10.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.238, allocations: 2.25 kB / 1.04 GB, free: 10.45 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches