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.001003/0.001003, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.478/2.478, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003892, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8546/0.855, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001077/0.8561, allocations: 0.9439 MB / 0.9544 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.8568, allocations: 405.7 kB / 0.9548 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.8568, allocations: 3.938 kB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.8568, allocations: 0 / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.167e-05/0.8569, allocations: 3.938 kB / 0.9548 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.8573, allocations: 91.66 kB / 0.9549 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.8574, allocations: 9.594 kB / 0.9549 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.8574, allocations: 5.125 kB / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.8574, allocations: 7.797 kB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.8575, allocations: 15.02 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.8575, allocations: 1.094 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.8577, allocations: 76.23 kB / 0.955 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.8577, allocations: 9.297 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.8577, allocations: 31.73 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.8578, allocations: 77.14 kB / 0.9551 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.8579, allocations: 0 / 0.9551 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8579, allocations: 5.031 kB / 0.9551 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.8579, allocations: 0 / 0.9551 GB, free: 6.828 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.0003831/0.8583, allocations: 373.3 kB / 0.9555 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.8583, allocations: 8.125 kB / 0.9555 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.8583, allocations: 6.453 kB / 0.9555 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.8584, allocations: 173.1 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.8584, allocations: 1.094 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.8585, allocations: 2.531 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.8586, allocations: 38.5 kB / 0.9557 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.8586, allocations: 0 / 0.9557 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.8586, allocations: 1.469 kB / 0.9557 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.8586, allocations: 4 kB / 0.9557 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.8586, allocations: 18.75 kB / 0.9557 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.65e-05/0.8587, allocations: 154.8 kB / 0.9559 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.8588, allocations: 30.44 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.8588, allocations: 1.25 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.859, allocations: 56.25 kB / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.859, allocations: 0 / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000185/0.8592, allocations: 74.39 kB / 0.956 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.8592, allocations: 52.91 kB / 0.9561 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.8593, allocations: 104.6 kB / 0.9562 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.8593, allocations: 26.86 kB / 0.9562 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.8593, allocations: 85.7 kB / 0.9563 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.8593, allocations: 17.27 kB / 0.9563 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.8593, allocations: 0 / 0.9563 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.8594, allocations: 323.8 kB / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.8594, allocations: 5.406 kB / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.8594, allocations: 33.42 kB / 0.9567 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.8595, allocations: 18.91 kB / 0.9567 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8595, allocations: 0 / 0.9567 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.829e-05/0.8596, allocations: 64.44 kB / 0.9567 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8596, allocations: 5.781 kB / 0.9567 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8596, allocations: 1.312 kB / 0.9567 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8596, allocations: 1.094 kB / 0.9567 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.8597, allocations: 10.52 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8597, allocations: 1.312 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.8597, allocations: 2.312 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.8597, allocations: 14.22 kB / 0.9568 GB, free: 5.078 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.945e-05/0.8598, allocations: 116.4 kB / 0.9569 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.8598, allocations: 5.281 kB / 0.9569 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.8598, allocations: 5.297 kB / 0.9569 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8599, allocations: 1.281 kB / 0.9569 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8599, allocations: 3.984 kB / 0.9569 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8599, allocations: 1.562 kB / 0.9569 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.247e-05/0.86, allocations: 166.1 kB / 0.9571 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.86, allocations: 0 / 0.9571 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/0.86, allocations: 5.188 kB / 0.9571 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.86, allocations: 1.156 kB / 0.9571 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.86, allocations: 1.156 kB / 0.9571 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.86, allocations: 0 / 0.9571 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.86, allocations: 1.344 kB / 0.9571 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.8601, allocations: 90.16 kB / 0.9572 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.8602, allocations: 82.45 kB / 0.9572 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8602, allocations: 9.375 kB / 0.9572 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.8602, allocations: 4.25 kB / 0.9572 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.8602, allocations: 5.484 kB / 0.9572 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.8602, allocations: 5.188 kB / 0.9573 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.8603, allocations: 80.19 kB / 0.9573 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8603, allocations: 0 / 0.9573 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002597/0.8605, allocations: 35.52 kB / 0.9574 GB, free: 4.438 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.00031/0.8609, allocations: 164.5 kB / 0.9575 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.861, allocations: 28.73 kB / 0.9575 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.861, allocations: 1.062 kB / 0.9575 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.861, allocations: 7.125 kB / 0.9576 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.8612, allocations: 9.453 kB / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.8614, allocations: 122.5 kB / 0.9577 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.8616, allocations: 0.6798 MB / 0.9583 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.8616, allocations: 1.469 kB / 0.9583 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.8616, allocations: 9.844 kB / 0.9584 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.124e-06/0.8616, allocations: 0 / 0.9584 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.003565/0.8652, allocations: 1.069 MB / 0.9594 GB, free: 2.902 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","../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