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.001832/0.001832, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 62.81 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2466, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001955/0.2485, allocations: 1.22 MB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000705/0.2493, allocations: 458.5 kB / 1.055 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.2493, allocations: 0 / 1.055 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.2493, allocations: 3.938 kB / 1.055 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.2494, allocations: 0 / 1.055 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.2498, allocations: 115.5 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.602e-05/0.2498, allocations: 19.92 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.2499, allocations: 7.938 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.2499, allocations: 11.97 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.425e-05/0.2499, allocations: 7.938 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.25, allocations: 4 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.2501, allocations: 103.9 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.2502, allocations: 7.984 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.2502, allocations: 7.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2504, allocations: 107.7 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2504, allocations: 3.938 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2504, allocations: 0 / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2504, allocations: 0 / 1.055 GB, free: 6.25 MB / 0.8106 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.0003973/0.2508, allocations: 385.4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2508, allocations: 8.625 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.2509, allocations: 34.75 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.2509, allocations: 4.938 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.251, allocations: 168.3 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.251, allocations: 8.359 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.251, allocations: 384 / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.233e-05/0.2511, allocations: 42.25 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2512, allocations: 3.938 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2512, allocations: 0 / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2512, allocations: 0 / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.2512, allocations: 7.938 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.2515, allocations: 249 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.2516, allocations: 38.52 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.2516, allocations: 20.94 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.2516, allocations: 0 / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.2518, allocations: 71.33 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.816e-06/0.2518, allocations: 3.984 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001768/0.2519, allocations: 65.69 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.252, allocations: 51.41 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.2521, allocations: 105.8 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2521, allocations: 29.7 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.2521, allocations: 92.03 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2521, allocations: 15.83 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2522, allocations: 25.72 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.2523, allocations: 318.8 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.2523, allocations: 11.92 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.2523, allocations: 31.44 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.2524, allocations: 55.36 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2524, allocations: 3.938 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.216e-05/0.2525, allocations: 77.52 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.2525, allocations: 7.938 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2525, allocations: 0 / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2525, allocations: 4 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.2526, allocations: 4 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2526, allocations: 4 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.2526, allocations: 4.062 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2526, allocations: 11.94 kB / 1.057 GB, free: 4.059 MB / 0.8106 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.296e-05/0.2527, allocations: 113.8 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.2527, allocations: 3.984 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.2527, allocations: 7.969 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2528, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2528, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2528, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.253, allocations: 303 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.253, allocations: 4 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.253, allocations: 7.938 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.253, allocations: 64 / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.253, allocations: 4 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.253, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.253, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.2532, allocations: 167.5 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.2532, allocations: 81.05 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.2532, allocations: 4 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/0.2533, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.2533, allocations: 11.98 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2533, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.2533, allocations: 79.28 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2533, allocations: 0 / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002537/0.2536, allocations: 39.92 kB / 1.058 GB, free: 3.145 MB / 0.8106 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.0005299/0.2541, allocations: 0.7833 MB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.2542, allocations: 31.92 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2543, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.2543, allocations: 16 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.2545, allocations: 16.11 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.2553, allocations: 1.277 MB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.2555, allocations: 0.6807 MB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.2556, allocations: 4 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.2556, allocations: 15.42 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2556, allocations: 0 / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.727/3.982, allocations: 2.07 MB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/15.82, allocations: 17.25 kB / 1.062 GB, free: 14.19 MB / 0.8262 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