Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001405/0.001405, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 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.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7784, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002275/0.7808, allocations: 1.24 MB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.7816, allocations: 444.6 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.7816, allocations: 1.125 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.7817, allocations: 0 / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.385e-05/0.7817, allocations: 3.938 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.7823, allocations: 113.6 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.7824, allocations: 20.3 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.7824, allocations: 3.234 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.7825, allocations: 10.89 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.7825, allocations: 17.36 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.7825, allocations: 1 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.7828, allocations: 103.4 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.7828, allocations: 11 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.7828, allocations: 8.5 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.7831, allocations: 103.1 kB / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7831, allocations: 0 / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7831, allocations: 0.7812 kB / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7831, allocations: 0 / 1.091 GB, free: 4.469 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.0004406/0.7835, allocations: 384.8 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7836, allocations: 9.406 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.7836, allocations: 3.172 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.379e-05/0.7837, allocations: 168.5 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.7837, allocations: 1.281 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.7838, allocations: 14.98 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.388e-05/0.7839, allocations: 36.83 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7839, allocations: 192 / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7839, allocations: 9.641 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.7839, allocations: 4 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.7839, allocations: 4.812 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.7841, allocations: 159.2 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.7841, allocations: 29.11 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.7842, allocations: 20.22 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.7842, allocations: 0 / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.7843, allocations: 59.3 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7843, allocations: 0 / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002067/0.7845, allocations: 69.7 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.7846, allocations: 52.95 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.7846, allocations: 108.7 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.7847, allocations: 26.73 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.7847, allocations: 89.64 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.7847, allocations: 7.719 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.7848, allocations: 24.44 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.7848, allocations: 317.2 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.7848, allocations: 5.828 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.7849, allocations: 36.69 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.7849, allocations: 50.47 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7849, allocations: 1.344 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.077e-05/0.785, allocations: 72.56 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.785, allocations: 10.45 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7851, allocations: 1.188 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.7851, allocations: 1.984 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.7851, allocations: 11.23 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7852, allocations: 2.078 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.7852, allocations: 5.25 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.7852, allocations: 2.594 kB / 1.092 GB, free: 2.691 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 5.024e-05/0.7853, allocations: 114.1 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.7853, allocations: 10.67 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.7853, allocations: 5.594 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7853, allocations: 240 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7853, allocations: 1.062 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7853, allocations: 4.5 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.081e-05/0.7854, allocations: 164.1 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7854, allocations: 0 / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.7854, allocations: 3.016 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7854, allocations: 3.938 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7855, allocations: 1.891 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.7855, allocations: 1.094 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7855, allocations: 0.75 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.7856, allocations: 89.56 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.7856, allocations: 78.56 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.7856, allocations: 9.625 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.7857, allocations: 1.828 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.7857, allocations: 5.641 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.7857, allocations: 2.547 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.7857, allocations: 85.27 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7857, allocations: 1.062 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002686/0.786, allocations: 33.05 kB / 1.093 GB, free: 2.078 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.000304/0.7863, allocations: 156.8 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.7864, allocations: 33.62 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7864, allocations: 0.8438 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.7865, allocations: 8.734 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.7866, allocations: 3.062 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.7869, allocations: 151.2 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.787, allocations: 0.6822 MB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.787, allocations: 9.781 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.7871, allocations: 0 / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Templates: time 0.00344/0.7905, allocations: 1.254 MB / 1.095 GB, free: 0.9727 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches