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.007339/0.007339, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001449/0.001449, allocations: 195.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.389/1.389, 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 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8347, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002366/0.8371, allocations: 1.221 MB / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.838, allocations: 448.9 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.838, allocations: 7.875 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.8381, allocations: 0 / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.8381, allocations: 3.938 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.8388, allocations: 119.6 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.8388, allocations: 19.92 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.8389, allocations: 4 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.8389, allocations: 7.938 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.839, allocations: 15.91 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.839, allocations: 4 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.8392, allocations: 107.8 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.8392, allocations: 0 / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.8393, allocations: 15.92 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.8395, allocations: 91.81 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8395, allocations: 4 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8395, allocations: 0 / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.8395, allocations: 0 / 1.168 GB, free: 1.719 MB / 0.8887 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.0005065/0.84, allocations: 383.4 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.8401, allocations: 8.922 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.8402, allocations: 38.67 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.8402, allocations: 8.844 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.8403, allocations: 172.3 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.8404, allocations: 4.375 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.8404, allocations: 4.375 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.8405, allocations: 50.17 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8405, allocations: 3.938 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.8405, allocations: 0 / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8406, allocations: 0 / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.8406, allocations: 8 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.8409, allocations: 237 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.8411, allocations: 46.5 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.8411, allocations: 20.88 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.8411, allocations: 0 / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.8413, allocations: 59.41 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.8413, allocations: 0 / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002181/0.8415, allocations: 73.58 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8416, allocations: 55.41 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.8417, allocations: 109.8 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.8417, allocations: 33.7 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.8418, allocations: 84.14 kB / 1.169 GB, free: 132 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.8418, allocations: 7.906 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.8418, allocations: 25.7 kB / 1.169 GB, free: 92 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.842, allocations: 314.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.842, allocations: 19.91 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.842, allocations: 35.44 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.8421, allocations: 47.36 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8421, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000112/0.8423, allocations: 73.62 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.8423, allocations: 8.062 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8423, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8423, allocations: 7.984 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.8424, allocations: 16.42 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8424, allocations: 160 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.8424, allocations: 7.938 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.8425, allocations: 8 kB / 1.17 GB, free: 15.52 MB / 0.9044 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 9.244e-05/0.8426, allocations: 117.7 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.8426, allocations: 7.906 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.8426, allocations: 15.95 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8426, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8426, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8426, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.8429, allocations: 302.5 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8429, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.8429, allocations: 4 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.843, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.843, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.843, allocations: 3.984 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.843, allocations: 8 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.8432, allocations: 163.5 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.8432, allocations: 81.02 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.8432, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.8433, allocations: 4 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.8433, allocations: 7.938 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.8433, allocations: 3.984 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.8434, allocations: 83.28 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8434, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003062/0.8437, allocations: 43.92 kB / 1.171 GB, free: 14.58 MB / 0.9044 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.0007869/0.8445, allocations: 0.7676 MB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.8446, allocations: 31.92 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8447, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/0.8447, allocations: 16 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.8449, allocations: 3.938 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.8462, allocations: 1.297 MB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.8465, allocations: 0.6807 MB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.8466, allocations: 7.984 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.8466, allocations: 11.44 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.8466, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.8657, allocations: 2.102 MB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.952, allocations: 16.61 kB / 1.176 GB, free: 9.621 MB / 0.9044 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