Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008933/0.008933, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.001988/0.001988, allocations: 201.2 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9124/0.9144, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002681/0.9171, allocations: 1.213 MB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.9182, allocations: 444.5 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.9183, allocations: 1.156 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.9183, allocations: 7.938 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.9184, allocations: 4.5 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.919, allocations: 113.6 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.285e-05/0.9191, allocations: 28.97 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.9192, allocations: 1.578 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.9192, allocations: 10.89 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.9193, allocations: 10.03 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.9193, allocations: 0.7188 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.9196, allocations: 103.2 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.9197, allocations: 7.031 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.9197, allocations: 17.58 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.92, allocations: 102.6 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.92, allocations: 0.8438 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.92, allocations: 0 / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.92, allocations: 0 / 1.09 GB, free: 4.219 MB / 0.8575 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.000484/0.9205, allocations: 382.6 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.9206, allocations: 9.281 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.9206, allocations: 3.609 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.611e-05/0.9207, allocations: 163.2 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.9208, allocations: 10.44 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.9208, allocations: 2.938 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.9209, allocations: 36.73 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.921, allocations: 192 / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.921, allocations: 9.375 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.921, allocations: 0 / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.921, allocations: 9.344 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.9212, allocations: 162.6 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.9213, allocations: 33.66 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.9214, allocations: 11.22 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.9214, allocations: 1.359 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.9216, allocations: 62.48 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.9216, allocations: 0 / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002672/0.9219, allocations: 70.17 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.9219, allocations: 57.2 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.922, allocations: 104.9 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.922, allocations: 29.64 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.9221, allocations: 85.97 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.9221, allocations: 9.188 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.9221, allocations: 20.83 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.9222, allocations: 318 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.9223, allocations: 6.312 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.9223, allocations: 43.58 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.9224, allocations: 42.44 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.9224, allocations: 0 / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000146/0.9226, allocations: 78.67 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9226, allocations: 14.17 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9226, allocations: 0 / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9226, allocations: 2.312 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.9227, allocations: 7.391 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.9227, allocations: 1.734 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.9228, allocations: 2.281 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.9228, allocations: 2.469 kB / 1.092 GB, free: 2.453 MB / 0.8575 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.191e-05/0.9229, allocations: 118.1 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.9229, allocations: 13.84 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.923, allocations: 5.828 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.923, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.923, allocations: 1.641 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.923, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.9231, allocations: 160 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9231, allocations: 0 / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.9231, allocations: 2.625 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.9231, allocations: 3.938 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.9232, allocations: 1.672 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9232, allocations: 6.172 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9232, allocations: 4 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.9234, allocations: 82.14 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.9234, allocations: 79.84 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.9234, allocations: 8.734 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.9235, allocations: 4.969 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.9235, allocations: 1.922 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.9235, allocations: 7.766 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.9235, allocations: 85.05 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9236, allocations: 0 / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004765/0.924, allocations: 34.2 kB / 1.092 GB, free: 1.836 MB / 0.8575 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0004381/0.9245, allocations: 162.9 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.9247, allocations: 33.89 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9247, allocations: 0 / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-05/0.9247, allocations: 9.297 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.925, allocations: 7.359 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.9253, allocations: 114.9 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.9254, allocations: 0.6777 MB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.9255, allocations: 3.5 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.9255, allocations: 9.281 kB / 1.093 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.9255, allocations: 4.844 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of Templates: time 0.005156/0.9307, allocations: 1.111 MB / 1.094 GB, free: 0.7461 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,t0,time,u,y