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.006712/0.006712, allocations: 96.69 kB / 15.73 MB, free: 6.055 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.001809/0.001809, allocations: 195.4 kB / 16.68 MB, free: 5.977 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.632/2.632, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 56.12 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.399, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002148/0.4012, allocations: 1.239 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.402, allocations: 436.4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.4021, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.4021, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.942e-05/0.4021, allocations: 3.938 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.4026, allocations: 115.6 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.4026, allocations: 19.92 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.4027, allocations: 8 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.4027, allocations: 7.984 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.181e-05/0.4027, allocations: 15.91 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4027, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.4029, allocations: 103.8 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.403, allocations: 7.984 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.403, allocations: 7.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.4032, allocations: 99.73 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4032, allocations: 3.938 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4032, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.4032, allocations: 4 kB / 1.222 GB, free: 12.29 MB / 0.9825 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.0004393/0.4037, allocations: 396.7 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.4037, allocations: 12.03 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.4038, allocations: 30.75 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.4038, allocations: 0.9375 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.4039, allocations: 176.3 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4039, allocations: 384 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.4039, allocations: 4.375 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.225e-05/0.404, allocations: 42.25 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4041, allocations: 7.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.4041, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.4041, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.4041, allocations: 7.984 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.4044, allocations: 248.9 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/0.4045, allocations: 38.61 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.4045, allocations: 20.84 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.4046, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.4047, allocations: 55.39 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4047, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0001834/0.4049, allocations: 77.58 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4049, allocations: 55.41 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.405, allocations: 114.1 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.405, allocations: 25.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.4051, allocations: 84.14 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.4051, allocations: 19.86 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.4052, allocations: 17.72 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4053, allocations: 322.8 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.4053, allocations: 4 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.4054, allocations: 39.42 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.4054, allocations: 51.38 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4054, allocations: 3.938 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.4056, allocations: 81.48 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.4056, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.4056, allocations: 8.062 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.4056, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.4057, allocations: 8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4057, allocations: 3.938 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.4057, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.4057, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 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 8.551e-05/0.4058, allocations: 125.7 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.4058, allocations: 7.953 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.4058, allocations: 7.906 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4058, allocations: 4 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4059, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4059, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.4061, allocations: 302.6 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4061, allocations: 0 / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.4062, allocations: 4 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4062, allocations: 0 / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4062, allocations: 4 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4062, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4062, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.4064, allocations: 171.7 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.4064, allocations: 81.06 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.4064, allocations: 8.062 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.4065, allocations: 0 / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.4065, allocations: 3.984 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4065, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.4066, allocations: 83.28 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4066, allocations: 0 / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002582/0.4068, allocations: 47.8 kB / 1.225 GB, free: 9.156 MB / 0.9825 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.0006794/0.4075, allocations: 0.7589 MB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.4076, allocations: 44 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4076, allocations: 7.938 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.4077, allocations: 15.98 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.4079, allocations: 3.938 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.409, allocations: 1.3 MB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.4093, allocations: 0.6807 MB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.4093, allocations: 4 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4094, allocations: 11.44 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4094, allocations: 0 / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.361/1.77, allocations: 2.114 MB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.954/11.72, allocations: 13.56 kB / 1.23 GB, free: 4.18 MB / 0.9825 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