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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001323/0.001323, allocations: 195 kB / 16.14 MB, free: 6.648 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5068, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001855/0.5087, allocations: 1.299 MB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.5095, allocations: 458.6 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.5095, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.5095, allocations: 3.938 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.5095, allocations: 3.984 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.5099, allocations: 79.8 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.326e-05/0.51, allocations: 23.92 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.51, allocations: 7.984 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.5101, allocations: 7.938 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.546e-05/0.5101, allocations: 15.92 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.5101, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.5103, allocations: 99.89 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.5103, allocations: 3.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.5103, allocations: 15.92 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.5105, allocations: 95.81 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5105, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.02e-07/0.5105, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.5105, allocations: 4 kB / 1.019 GB, free: 0.6875 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.0003809/0.5109, allocations: 391.4 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.511, allocations: 15.91 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.511, allocations: 34.73 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.511, allocations: 4.938 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.5112, allocations: 168.2 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5112, allocations: 4.375 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-06/0.5112, allocations: 384 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.72e-05/0.5113, allocations: 54.16 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.5113, allocations: 7.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.5113, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.5113, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.874e-05/0.5114, allocations: 8 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.5116, allocations: 241 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.5117, allocations: 38.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.5118, allocations: 28.88 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.5118, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.5119, allocations: 55.41 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.5119, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001732/0.5121, allocations: 73.86 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.5122, allocations: 59.39 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.5122, allocations: 109.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.5123, allocations: 33.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5124, allocations: 84.14 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.5124, allocations: 7.812 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.5124, allocations: 25.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5126, allocations: 314.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.5126, allocations: 8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.5126, allocations: 39.42 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.088e-05/0.5127, allocations: 47.36 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5127, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.262e-05/0.5128, allocations: 77.53 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.5129, allocations: 5.25 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5129, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.5129, allocations: 8.062 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.5129, allocations: 15.92 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5129, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.513, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.513, allocations: 7.938 kB / 1.021 GB, free: 14.49 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 6.776e-05/0.5131, allocations: 117.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.5131, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.5131, allocations: 7.969 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.5131, allocations: 96 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5131, allocations: 11.97 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5131, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.5134, allocations: 306.4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5134, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.5134, allocations: 7.984 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5134, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.5134, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5134, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5134, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.5136, allocations: 167.8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.5137, allocations: 77.17 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.5137, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.5137, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.5137, allocations: 7.938 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.5138, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.5138, allocations: 87.27 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5138, allocations: 4 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002429/0.514, allocations: 35.94 kB / 1.021 GB, free: 13.56 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.0005735/0.5146, allocations: 0.7642 MB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.5148, allocations: 39.92 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5148, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.5148, allocations: 12 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.515, allocations: 11.88 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5161, allocations: 1.291 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5164, allocations: 0.6809 MB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.5164, allocations: 4 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.5164, allocations: 11.44 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5164, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.074/1.591, allocations: 1.958 MB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.591, allocations: 244.1 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/3.686, allocations: 0 / 1.026 GB, free: 8.504 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