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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007276/0.007276, allocations: 101.6 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.001494/0.001494, allocations: 196.2 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8388, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002629/0.8415, allocations: 1.238 MB / 1.208 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.8425, allocations: 450.5 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.8425, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.8426, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.8426, allocations: 3.938 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.8432, allocations: 107.7 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.638e-05/0.8433, allocations: 23.91 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.8433, allocations: 8 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.8434, allocations: 11.92 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.008e-05/0.8434, allocations: 7.938 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.8434, allocations: 4 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.8437, allocations: 103.8 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.8437, allocations: 7.984 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.8438, allocations: 7.938 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.844, allocations: 103.8 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.844, allocations: 0 / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/0.844, allocations: 0 / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.844, allocations: 4 kB / 1.209 GB, free: 11.48 MB / 0.9356 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.0005311/0.8445, allocations: 383.4 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.8446, allocations: 8.031 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.8446, allocations: 30.75 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.8447, allocations: 8.844 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.8448, allocations: 164.3 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.8449, allocations: 12.36 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.8449, allocations: 4.312 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.845, allocations: 42.25 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.845, allocations: 11.81 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.845, allocations: 4 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.845, allocations: 0 / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.8451, allocations: 4 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.8454, allocations: 249 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.8455, allocations: 38.45 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.8456, allocations: 24.94 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.8456, allocations: 0 / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.8458, allocations: 59.39 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.8458, allocations: 0 / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002746/0.8461, allocations: 77.53 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.8461, allocations: 51.41 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.8462, allocations: 109.8 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.8462, allocations: 29.7 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.8463, allocations: 84.14 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.8463, allocations: 11.89 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.8463, allocations: 21.72 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8465, allocations: 310.8 kB / 1.211 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.8465, allocations: 15.98 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.8465, allocations: 39.42 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.49e-05/0.8466, allocations: 47.36 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8466, allocations: 3.938 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.8467, allocations: 78.02 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8468, allocations: 4 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8468, allocations: 64 / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.8468, allocations: 8 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.8469, allocations: 11.94 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8469, allocations: 4 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.8469, allocations: 7.938 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.8469, allocations: 4 kB / 1.211 GB, free: 9.297 MB / 0.9356 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.0001023/0.847, allocations: 113.8 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.8471, allocations: 7.891 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.8471, allocations: 11.97 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8471, allocations: 4 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8471, allocations: 0 / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8471, allocations: 0 / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.8474, allocations: 306.4 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8474, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.8475, allocations: 7.938 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.8475, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.8475, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8475, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8475, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.8477, allocations: 175.4 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.8478, allocations: 81.02 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.8478, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.8478, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.8479, allocations: 11.98 kB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.8479, allocations: 0 / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.8479, allocations: 79.41 kB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8479, allocations: 0 / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002941/0.8482, allocations: 47.92 kB / 1.212 GB, free: 8.359 MB / 0.9356 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.0007226/0.849, allocations: 0.7634 MB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.8491, allocations: 35.92 kB / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8491, allocations: 0 / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.8491, allocations: 19.94 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.8494, allocations: 3.984 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.8505, allocations: 1.307 MB / 1.214 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8508, allocations: 0.6807 MB / 1.215 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.8508, allocations: 0 / 1.215 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.8509, allocations: 15.44 kB / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.8509, allocations: 0 / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.8709, allocations: 2.11 MB / 1.217 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.906, allocations: 25.42 kB / 1.217 GB, free: 3.367 MB / 0.9356 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