Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_11_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.001218/0.001218, 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.001146/0.001146, allocations: 195.8 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.285/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.621/2.621, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 65.39 kB / 0.9086 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2898, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00236/0.2922, allocations: 1.225 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.2931, allocations: 444.4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.2931, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2931, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.229e-05/0.2932, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.2936, allocations: 119.6 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.405e-05/0.2937, allocations: 19.88 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.2937, allocations: 7.984 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.2938, allocations: 8 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/0.2938, allocations: 11.92 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2938, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.294, allocations: 103.9 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2941, allocations: 7.984 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.2941, allocations: 7.938 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.2943, allocations: 103.7 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2943, allocations: 4 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2943, allocations: 7.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2943, allocations: 3.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 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.0004933/0.2948, allocations: 381.4 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2949, allocations: 8.031 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.982e-05/0.2949, allocations: 38.75 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.295, allocations: 0.9375 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2951, allocations: 172.3 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.2951, allocations: 384 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2951, allocations: 12.36 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.2953, allocations: 42.19 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2953, allocations: 3.938 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2953, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2953, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.2953, allocations: 7.984 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.2957, allocations: 245 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.2958, allocations: 42.5 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.2959, allocations: 12.86 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.2959, allocations: 7.938 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.2961, allocations: 55.48 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.2961, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002245/0.2963, allocations: 69.59 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.2964, allocations: 63.41 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.2965, allocations: 110.1 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2965, allocations: 25.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.2966, allocations: 92.06 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.2966, allocations: 11.84 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.2966, allocations: 17.72 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2968, allocations: 318.8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.2968, allocations: 11.94 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.2968, allocations: 43.41 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.763e-05/0.2969, allocations: 47.38 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2969, allocations: 3.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001273/0.2971, allocations: 77.52 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2971, allocations: 8.062 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2971, allocations: 4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2971, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.2972, allocations: 8 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2972, allocations: 3.938 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.2972, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2972, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 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.316e-05/0.2973, allocations: 125.8 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.2973, allocations: 11.89 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.2974, allocations: 7.969 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2974, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2974, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2974, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.2977, allocations: 310.5 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2977, allocations: 0 / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.2977, allocations: 4 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2977, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2977, allocations: 4 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2977, allocations: 0 / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2977, allocations: 4 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.2979, allocations: 159.8 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.298, allocations: 88.95 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.298, allocations: 8.062 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.298, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.2981, allocations: 3.984 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.2981, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.22e-05/0.2981, allocations: 91.22 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2981, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002681/0.2984, allocations: 35.92 kB / 1.069 GB, free: 9.051 MB / 0.8262 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.0007289/0.2991, allocations: 0.7646 MB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.2993, allocations: 39.92 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2993, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.2993, allocations: 15.92 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2995, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3006, allocations: 1.274 MB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.301, allocations: 0.6807 MB / 1.071 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.301, allocations: 3.984 kB / 1.071 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.301, allocations: 15.44 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3011, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6445/0.9455, allocations: 2.082 MB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/9.655, allocations: 10.89 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches