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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.525/2.525, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 71.88 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7682, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00191/0.7701, allocations: 1.243 MB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.7708, allocations: 457.8 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.7708, allocations: 0 / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.7709, allocations: 3.938 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.7709, allocations: 3.109 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.7714, allocations: 109.2 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.7714, allocations: 20.72 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.7715, allocations: 2.656 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.7715, allocations: 13.94 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.062e-05/0.7715, allocations: 17.78 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.7715, allocations: 0.9062 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.7718, allocations: 109.6 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.7718, allocations: 7.578 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.7718, allocations: 12.45 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.772, allocations: 96.38 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.772, allocations: 4.844 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.772, allocations: 0 / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.772, allocations: 0 / 1.273 GB, free: 6.398 MB / 0.9981 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.0003736/0.7724, allocations: 391 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.7724, allocations: 9.312 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.7725, allocations: 37.72 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.7725, allocations: 3.312 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.166e-05/0.7725, allocations: 173.4 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.7726, allocations: 5.75 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.7726, allocations: 2.844 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.098e-05/0.7727, allocations: 46.77 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7727, allocations: 3.938 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.7727, allocations: 4 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.7727, allocations: 0.875 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.7727, allocations: 8.594 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.7729, allocations: 245.4 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.773, allocations: 37 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.7731, allocations: 12.75 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.7731, allocations: 4 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.7732, allocations: 63.86 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.7732, allocations: 1 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001914/0.7734, allocations: 72.05 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.7734, allocations: 54.44 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.7734, allocations: 103.8 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.7735, allocations: 30.64 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.7735, allocations: 86.95 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.7735, allocations: 18.59 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.7735, allocations: 20.69 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.7736, allocations: 318.3 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.7736, allocations: 8.219 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.7736, allocations: 40.28 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.7737, allocations: 52.81 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7737, allocations: 7.875 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.814e-05/0.7737, allocations: 69.94 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7738, allocations: 5.344 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.7738, allocations: 0.6562 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7738, allocations: 1.594 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.7738, allocations: 14.62 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7738, allocations: 1.781 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.7739, allocations: 5.469 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.7739, allocations: 2.5 kB / 1.275 GB, free: 4.484 MB / 0.9981 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 4.514e-05/0.7739, allocations: 118.1 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.7739, allocations: 10.02 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.7739, allocations: 7.266 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.774, allocations: 1.281 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.774, allocations: 0.9688 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.774, allocations: 11.88 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.7741, allocations: 304.6 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7741, allocations: 0 / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.777e-05/0.7742, allocations: 9.047 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7742, allocations: 0.625 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.7742, allocations: 0.9375 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7742, allocations: 2.906 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.7742, allocations: 0.9375 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.7743, allocations: 168.5 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.7743, allocations: 78.81 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.7743, allocations: 1.266 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.7743, allocations: 4.969 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.7744, allocations: 3.266 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.7744, allocations: 3.938 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.7744, allocations: 80.19 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7744, allocations: 0 / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002696/0.7747, allocations: 42.69 kB / 1.276 GB, free: 3.676 MB / 0.9981 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.000517/0.7752, allocations: 0.7864 MB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.7753, allocations: 32.44 kB / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7753, allocations: 4.938 kB / 1.277 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.7753, allocations: 16.72 kB / 1.277 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.7755, allocations: 4.25 kB / 1.277 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.7764, allocations: 1.288 MB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.7766, allocations: 0.6824 MB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.7767, allocations: 7.547 kB / 1.279 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.7767, allocations: 15.56 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7767, allocations: 0 / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.8009, allocations: 2.099 MB / 1.281 GB, free: 16.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.743, allocations: 11.48 kB / 1.281 GB, free: 16.5 MB / 1.014 GB " [Timeout remaining time 292] (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) [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: 13.038546853000298]