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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008434/0.0008436, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009099/0.00091, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.568/2.568, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003927, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7501, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001178/0.7514, allocations: 0.9406 MB / 0.9553 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.7521, allocations: 419.2 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.7521, allocations: 0 / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.7522, allocations: 0 / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.7522, allocations: 8.969 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.7527, allocations: 88.3 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.701e-05/0.7527, allocations: 20.3 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.7528, allocations: 1.5 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.7528, allocations: 4.406 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.043e-05/0.7528, allocations: 14.92 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.7529, allocations: 1.156 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.7531, allocations: 94.34 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.7531, allocations: 5.828 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.7531, allocations: 31.89 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.7533, allocations: 77.3 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7533, allocations: 0 / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7533, allocations: 0 / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.7533, allocations: 1 kB / 0.9561 GB, free: 6.391 MB / 0.7169 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.0003667/0.7537, allocations: 376.7 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.7537, allocations: 8.625 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.7538, allocations: 5.922 kB / 0.9565 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/0.7538, allocations: 169 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.7539, allocations: 5.688 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.7539, allocations: 6.094 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.754, allocations: 42.77 kB / 0.9567 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.754, allocations: 0 / 0.9567 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.754, allocations: 1 kB / 0.9567 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.754, allocations: 0.9688 kB / 0.9567 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.7541, allocations: 7.516 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.7542, allocations: 157.9 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.7543, allocations: 34.52 kB / 0.9569 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.7543, allocations: 18.02 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.433e-06/0.7543, allocations: 1.219 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.7545, allocations: 55.11 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7545, allocations: 0.9688 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.7547, allocations: 65.95 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.7547, allocations: 56.5 kB / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.7548, allocations: 113.7 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.7548, allocations: 25.7 kB / 0.9572 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.7549, allocations: 90.3 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.7549, allocations: 8.812 kB / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.7549, allocations: 1.125 kB / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.7549, allocations: 316.1 kB / 0.9576 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.755, allocations: 8.672 kB / 0.9576 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.755, allocations: 33.25 kB / 0.9576 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.755, allocations: 15.52 kB / 0.9576 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.755, allocations: 0 / 0.9576 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.049e-05/0.7551, allocations: 68.3 kB / 0.9577 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7552, allocations: 11.44 kB / 0.9577 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7552, allocations: 96 / 0.9577 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.7552, allocations: 6.25 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.7553, allocations: 5.688 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7553, allocations: 2.125 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.7553, allocations: 5.203 kB / 0.9577 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.7553, allocations: 10.97 kB / 0.9577 GB, free: 4.621 MB / 0.7169 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.7554, allocations: 112.8 kB / 0.9578 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.7554, allocations: 5 kB / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.7554, allocations: 4.938 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.7554, allocations: 4.938 kB / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7554, allocations: 1.125 kB / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7554, allocations: 0 / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.89e-05/0.7555, allocations: 166.7 kB / 0.958 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7556, allocations: 3.984 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.7556, allocations: 6.406 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7556, allocations: 0 / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.7556, allocations: 1.125 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7556, allocations: 0 / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7556, allocations: 5.016 kB / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.7557, allocations: 91.34 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.7557, allocations: 82.48 kB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.7558, allocations: 4 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.7558, allocations: 1.281 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.7558, allocations: 1.156 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.7558, allocations: 5.422 kB / 0.9582 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.7558, allocations: 87.94 kB / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7558, allocations: 0 / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002622/0.7561, allocations: 39.39 kB / 0.9583 GB, free: 3.977 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000317/0.7564, allocations: 167 kB / 0.9585 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.7566, allocations: 32.33 kB / 0.9585 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7566, allocations: 0 / 0.9585 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.7566, allocations: 12.19 kB / 0.9585 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.7568, allocations: 13.36 kB / 0.9585 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.757, allocations: 118.2 kB / 0.9587 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.7572, allocations: 0.6753 MB / 0.9593 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.7572, allocations: 6.359 kB / 0.9593 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.7572, allocations: 8.75 kB / 0.9593 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7572, allocations: 0 / 0.9593 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of Templates: time 0.003459/0.7607, allocations: 1.054 MB / 0.9604 GB, free: 2.445 MB / 0.7169 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