Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.001189/0.001189, allocations: 108.6 kB / 15.73 MB, free: 72 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.001294/0.001294, allocations: 187.1 kB / 16.66 MB, free: 6.602 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.31/1.31, 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.652/2.652, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.89 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3989, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002056/0.401, allocations: 1.219 MB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.4017, allocations: 444.4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/0.4018, allocations: 7.938 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.4018, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.001e-05/0.4018, allocations: 3.938 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.4021, allocations: 103.7 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.4022, allocations: 27.84 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.082e-05/0.4022, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.4022, allocations: 11.98 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.837e-05/0.4023, allocations: 7.938 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.974e-06/0.4023, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.4025, allocations: 111.8 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.4025, allocations: 7.922 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.4025, allocations: 11.94 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.4027, allocations: 95.73 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.4027, allocations: 0 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.81e-07/0.4027, allocations: 4 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.515e-06/0.4027, allocations: 0 / 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.0003678/0.4031, allocations: 392.7 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.235e-05/0.4031, allocations: 8.031 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.4031, allocations: 42.75 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.449e-05/0.4032, allocations: 0.9375 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.4033, allocations: 172.3 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4033, allocations: 4.359 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.4033, allocations: 4.375 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.427e-05/0.4034, allocations: 42.19 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.4034, allocations: 3.938 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-06/0.4034, allocations: 0 / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4034, allocations: 4 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.4034, allocations: 7.984 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.4037, allocations: 257 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.4038, allocations: 30.52 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.4038, allocations: 24.88 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.4039, allocations: 4 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.404, allocations: 59.39 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.404, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.000155/0.4042, allocations: 69.64 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.4042, allocations: 59.41 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.4043, allocations: 105.8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4043, allocations: 29.7 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.4044, allocations: 80.14 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.4044, allocations: 19.88 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.4044, allocations: 21.72 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4046, allocations: 314.8 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.4046, allocations: 11.98 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.4046, allocations: 35.42 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/0.4047, allocations: 47.38 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.4047, allocations: 7.938 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001094/0.4048, allocations: 73.56 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.4048, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4048, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.4049, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.4049, allocations: 15.94 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.4049, allocations: 7.875 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.4049, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.405, allocations: 4.062 kB / 1.224 GB, free: 10.09 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 7.515e-05/0.405, allocations: 117.8 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.4051, allocations: 7.938 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.4051, allocations: 7.969 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4051, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4051, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.4051, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.4054, allocations: 303 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4054, allocations: 4 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.4054, allocations: 12.06 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4054, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.4054, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4054, allocations: 4 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4054, allocations: 0 / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.4056, allocations: 163.5 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.4057, allocations: 81.06 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.4057, allocations: 4 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.4057, allocations: 8 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.4057, allocations: 7.922 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4058, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.4058, allocations: 87.28 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4058, allocations: 0 / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000255/0.4061, allocations: 39.8 kB / 1.225 GB, free: 9.16 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.0006649/0.4067, allocations: 0.7743 MB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.4068, allocations: 35.92 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.4069, allocations: 3.938 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.4069, allocations: 16 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.4071, allocations: 8.109 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.001118/0.4082, 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.0003284/0.4085, allocations: 0.6807 MB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.223e-05/0.4086, allocations: 0 / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.4086, allocations: 19.44 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4086, allocations: 0 / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.363/1.771, allocations: 2.1 MB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.974/11.75, allocations: 11.14 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,time,u,x,y