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.001779/0.001779, allocations: 104.8 kB / 16.45 MB, free: 6.445 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.002021/0.002021, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.527/1.527, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.803/2.803, allocations: 476.7 MB / 0.7611 GB, free: 15.72 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.001942/0.001942, allocations: 67.89 kB / 1.104 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.054, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002255/1.057, allocations: 1.23 MB / 1.27 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/1.058, allocations: 449 kB / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/1.058, allocations: 7.875 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/1.058, allocations: 2.578 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.171e-05/1.058, allocations: 4.906 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/1.058, allocations: 108.3 kB / 1.27 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.362e-05/1.058, allocations: 24.81 kB / 1.27 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/1.058, allocations: 6.406 kB / 1.27 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/1.058, allocations: 13.22 kB / 1.27 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/1.058, allocations: 9.812 kB / 1.27 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/1.058, allocations: 1.5 kB / 1.27 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/1.059, allocations: 113.8 kB / 1.271 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/1.059, allocations: 7.328 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/1.059, allocations: 12 kB / 1.271 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/1.059, allocations: 100.9 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.059, allocations: 0.75 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.059, allocations: 0 / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.989e-06/1.059, allocations: 0.75 kB / 1.271 GB, free: 6.434 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.000393/1.059, allocations: 393.8 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.059, allocations: 10.2 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/1.059, allocations: 32.67 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/1.059, allocations: 2.625 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.854e-05/1.059, allocations: 168.4 kB / 1.271 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.059, allocations: 10.64 kB / 1.271 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/1.059, allocations: 2.062 kB / 1.271 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/1.06, allocations: 46.2 kB / 1.271 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/1.06, allocations: 4.844 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/1.06, allocations: 0.5156 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/1.06, allocations: 1.094 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/1.06, allocations: 6.125 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/1.06, allocations: 244.2 kB / 1.272 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/1.06, allocations: 39.78 kB / 1.272 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/1.06, allocations: 21.78 kB / 1.272 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/1.06, allocations: 5.328 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/1.06, allocations: 60.08 kB / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/1.06, allocations: 0 / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.000218/1.06, allocations: 76.77 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/1.06, allocations: 57.77 kB / 1.272 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/1.061, allocations: 107.9 kB / 1.272 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/1.061, allocations: 26.45 kB / 1.272 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/1.061, allocations: 82.34 kB / 1.272 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/1.061, allocations: 15.92 kB / 1.272 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/1.061, allocations: 20.36 kB / 1.272 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/1.061, allocations: 318.8 kB / 1.272 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/1.061, allocations: 14.28 kB / 1.272 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/1.061, allocations: 34.2 kB / 1.272 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/1.061, allocations: 48.08 kB / 1.272 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.061, allocations: 4.688 kB / 1.272 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001041/1.061, allocations: 77.09 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.061, allocations: 6.234 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.061, allocations: 1.062 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.061, allocations: 1.219 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/1.061, allocations: 17.3 kB / 1.273 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.061, allocations: 5.562 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/1.061, allocations: 2 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.061, allocations: 2.875 kB / 1.273 GB, free: 4.516 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.881e-05/1.061, allocations: 117.2 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/1.061, allocations: 11.22 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/1.061, allocations: 5.688 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.061, allocations: 4.75 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.061, allocations: 0.5625 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.061, allocations: 0.6875 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/1.061, allocations: 305.8 kB / 1.273 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.061, allocations: 0.5625 kB / 1.273 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/1.061, allocations: 7.609 kB / 1.273 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.061, allocations: 1.312 kB / 1.273 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/1.061, allocations: 5.438 kB / 1.273 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/1.061, allocations: 0.6562 kB / 1.273 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.061, allocations: 1.109 kB / 1.273 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/1.061, allocations: 162.8 kB / 1.273 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/1.062, allocations: 83.14 kB / 1.273 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/1.062, allocations: 5.469 kB / 1.273 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/1.062, allocations: 0.6875 kB / 1.273 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/1.062, allocations: 6.656 kB / 1.273 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.062, allocations: 6.844 kB / 1.273 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.665e-05/1.062, allocations: 85.27 kB / 1.273 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.062, allocations: 0.7188 kB / 1.273 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000316/1.062, allocations: 37.64 kB / 1.273 GB, free: 3.707 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.0005999/1.063, allocations: 0.7814 MB / 1.274 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001185/1.063, allocations: 30.73 kB / 1.274 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.063, allocations: 0 / 1.274 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/1.063, allocations: 14.05 kB / 1.274 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/1.063, allocations: 2.641 kB / 1.274 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.064, allocations: 1.301 MB / 1.275 GB, free: 17.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.064, allocations: 0.6798 MB / 1.276 GB, free: 17.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.993e-05/1.064, allocations: 6.781 kB / 1.276 GB, free: 17.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/1.064, allocations: 14.95 kB / 1.276 GB, free: 17.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/1.064, allocations: 0 / 1.276 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/1.091, allocations: 2.12 MB / 1.278 GB, free: 16.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/9.414, allocations: 30.84 kB / 1.278 GB, free: 16.51 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.74376156879589]