Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_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.001106/0.001106, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001027/0.001027, allocations: 191.8 kB / 16.25 MB, free: 6.641 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.542/2.542, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.8688 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/0.7328, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00217/0.735, allocations: 1.292 MB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.7358, allocations: 450.5 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.7358, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.7358, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.7359, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.7364, allocations: 99.72 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.7364, allocations: 15.98 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.7365, allocations: 7.938 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.191e-05/0.7365, allocations: 8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.7365, allocations: 11.92 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.7366, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.7367, allocations: 107.8 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.7368, allocations: 7.984 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.7368, allocations: 15.92 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.737, allocations: 95.81 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.737, allocations: 4 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.737, allocations: 0 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.737, allocations: 0 / 1.019 GB, free: 0.6172 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.0004321/0.7374, allocations: 383.4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7375, allocations: 8.031 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.7375, allocations: 46.64 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.7376, allocations: 0.9375 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.7377, allocations: 176.3 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.7377, allocations: 384 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.7377, allocations: 4.375 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.7378, allocations: 42.23 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.7379, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.7379, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7379, allocations: 3.984 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.7379, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.7382, allocations: 260.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.7383, allocations: 38.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.7383, allocations: 12.94 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.7384, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.7385, allocations: 59.41 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.7385, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001934/0.7387, allocations: 73.61 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.7387, allocations: 59.41 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.7388, allocations: 105.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.7388, allocations: 25.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.7389, allocations: 80.14 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.7389, allocations: 15.81 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.7389, allocations: 21.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.739, allocations: 318.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.739, allocations: 11.98 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.7391, allocations: 31.44 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.7391, allocations: 51.36 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7392, allocations: 7.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.114e-05/0.7393, allocations: 69.56 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.7393, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7393, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.7393, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.7393, allocations: 15.98 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7394, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.7394, allocations: 15.78 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.7394, allocations: 0 / 1.021 GB, free: 14.43 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 7.347e-05/0.7395, allocations: 122.4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.7395, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.7395, allocations: 7.906 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7395, allocations: 3.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7395, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7395, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.7398, allocations: 298.6 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7398, allocations: 3.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.7398, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7398, allocations: 4.656 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7398, allocations: 11.98 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7398, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7398, allocations: 3.938 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.74, allocations: 171.3 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.74, allocations: 77.11 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.74, allocations: 8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.7401, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.7401, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-06/0.7401, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.7402, allocations: 83.27 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7402, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002559/0.7404, allocations: 35.94 kB / 1.022 GB, free: 13.5 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.0006402/0.7411, allocations: 0.7798 MB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.7412, allocations: 39.92 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7412, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.7412, allocations: 11.94 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.7414, allocations: 4 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.7424, allocations: 1.289 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.7426, allocations: 0.6807 MB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.7426, allocations: 7.938 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.7426, allocations: 19.38 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.7427, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.139/2.882, allocations: 1.996 MB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/2.882, allocations: 244.3 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/5.26, allocations: 0 / 1.027 GB, free: 8.406 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches