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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 216.2 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.043/3.043, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 68.28 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 169.9 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002667/0.3294, allocations: 1.257 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3305, allocations: 472.3 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.3305, allocations: 3.938 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3305, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.3305, allocations: 3.938 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.3313, allocations: 127.5 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.3313, allocations: 15.98 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.3314, allocations: 4 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.3314, allocations: 8 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.3315, allocations: 15.91 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3315, allocations: 4 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.3319, allocations: 143.7 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.3319, allocations: 11.88 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.3319, allocations: 7.938 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3322, allocations: 111.2 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3322, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3322, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3322, allocations: 0 / 1.285 GB, free: 9.562 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.000591/0.3328, allocations: 319.7 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3328, allocations: 8.031 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.067e-05/0.3329, allocations: 34.73 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.333, allocations: 12.89 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3331, allocations: 110.5 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3331, allocations: 4.375 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3331, allocations: 384 / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3333, allocations: 42.25 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3333, allocations: 15.91 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3333, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3333, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.3333, allocations: 11.94 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3338, allocations: 212.1 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3339, allocations: 34.5 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.3339, allocations: 20.86 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3339, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.3341, allocations: 63.38 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3341, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002615/0.3344, allocations: 77.67 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3345, allocations: 51.41 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3346, allocations: 109.8 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3346, allocations: 33.7 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3346, allocations: 80.14 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.3347, allocations: 19.84 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.3347, allocations: 21.7 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3349, allocations: 314.8 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.3349, allocations: 8 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.335, allocations: 43.36 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.335, allocations: 43.44 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.335, allocations: 3.938 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001255/0.3352, allocations: 73.55 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3352, allocations: 8 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3352, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3352, allocations: 4.062 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.3353, allocations: 11.98 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.3353, allocations: 4 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.3353, allocations: 12.39 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3353, allocations: 4 kB / 1.287 GB, free: 7.559 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: 6 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,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.0001021/0.3354, allocations: 113.7 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.3355, allocations: 4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3355, allocations: 8.062 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3355, allocations: 96 / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3355, allocations: 12 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3355, allocations: 3.984 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.3358, allocations: 269.6 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3358, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.3358, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3358, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3358, allocations: 3.984 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3359, allocations: 3.938 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3359, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.336, allocations: 167.4 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.336, allocations: 4 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3361, allocations: 3.984 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.3361, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3361, allocations: 8 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.3362, allocations: 3.938 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.3362, allocations: 83.27 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3362, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000312/0.3365, allocations: 43.81 kB / 1.288 GB, free: 6.762 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: 4 ($whenCondition1,y,$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.0009288/0.3374, allocations: 0.7824 MB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.3376, allocations: 35.92 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3376, allocations: 0 / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.3376, allocations: 12 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.3378, allocations: 5.719 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3391, allocations: 1.285 MB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.3395, allocations: 0.6807 MB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.3396, allocations: 4 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.3396, allocations: 19.36 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3396, allocations: 0 / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3701, allocations: 2.281 MB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 13.02 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,time,u,x,y [Calling sys.exit(0), Time elapsed: 18.59843211900443]