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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001253/0.001253, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.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.339/2.339, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7759/0.7772, allocations: 140.4 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002585/0.7798, allocations: 1.288 MB / 0.9502 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.7807, allocations: 462.2 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.7808, allocations: 0 / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.7808, allocations: 3.938 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.351e-05/0.7808, allocations: 0 / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.7814, allocations: 92.64 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.7814, allocations: 17.56 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.7815, allocations: 6.734 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.7815, allocations: 8.062 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.017e-05/0.7816, allocations: 10.73 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.7816, allocations: 9.312 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.7818, allocations: 95.81 kB / 0.9508 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.7818, allocations: 3.984 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.7819, allocations: 12.91 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.7821, allocations: 102.8 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7821, allocations: 0 / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.61e-07/0.7821, allocations: 1.75 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7821, allocations: 0 / 0.951 GB, free: 7.582 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.0005189/0.7826, allocations: 383.7 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.7827, allocations: 13.31 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.7827, allocations: 7.656 kB / 0.9513 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.979e-05/0.7829, allocations: 165.7 kB / 0.9515 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.7829, allocations: 1.688 kB / 0.9515 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.7829, allocations: 5.812 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.783, allocations: 43.77 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.783, allocations: 1.562 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.783, allocations: 3.938 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.7831, allocations: 0 / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.7831, allocations: 8.219 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.7832, allocations: 165.9 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.7833, allocations: 31.23 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.7833, allocations: 9.672 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.7834, allocations: 1.344 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.7835, allocations: 64.02 kB / 0.9518 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7835, allocations: 0 / 0.9518 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002059/0.7837, allocations: 78.27 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.7838, allocations: 52.56 kB / 0.9519 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.7838, allocations: 105.4 kB / 0.952 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.7838, allocations: 30.98 kB / 0.9521 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.7839, allocations: 81.17 kB / 0.9522 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.7839, allocations: 9.594 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.7839, allocations: 23.02 kB / 0.9522 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.784, allocations: 316.1 kB / 0.9525 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.784, allocations: 8.938 kB / 0.9525 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.784, allocations: 39.31 kB / 0.9525 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.246e-05/0.7841, allocations: 44.09 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7841, allocations: 0 / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.92e-05/0.7842, allocations: 74.08 kB / 0.9526 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7842, allocations: 8.344 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7842, allocations: 1.344 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7843, allocations: 1.25 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.7844, allocations: 6.219 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7844, allocations: 1.062 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.7844, allocations: 10.12 kB / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.7844, allocations: 6.188 kB / 0.9527 GB, free: 5.742 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 (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.045e-05/0.7845, allocations: 113.6 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.7845, allocations: 9.266 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.7845, allocations: 9.5 kB / 0.9528 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.7846, allocations: 4 kB / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7846, allocations: 0 / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7846, allocations: 1.625 kB / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.687e-05/0.7847, allocations: 158 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.7847, allocations: 0 / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.7847, allocations: 6.562 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7847, allocations: 3.938 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7847, allocations: 13.14 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7847, allocations: 0 / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7847, allocations: 1.344 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.7849, allocations: 82.56 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.7849, allocations: 82.31 kB / 0.9531 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.7849, allocations: 5.031 kB / 0.9531 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.785, allocations: 4 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.785, allocations: 5.375 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.785, allocations: 2.75 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.785, allocations: 87.73 kB / 0.9532 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7851, allocations: 0 / 0.9532 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002691/0.7853, allocations: 27.25 kB / 0.9533 GB, free: 5.105 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 (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.0004067/0.7857, allocations: 165.3 kB / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.7859, allocations: 29.67 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7859, allocations: 1.062 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.7859, allocations: 12.19 kB / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.7861, allocations: 1.281 kB / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.7864, allocations: 114.3 kB / 0.9536 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.7865, allocations: 0.6863 MB / 0.9542 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.7866, allocations: 5.484 kB / 0.9543 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.7866, allocations: 10.41 kB / 0.9543 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7866, allocations: 3.938 kB / 0.9543 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of Templates: time 0.003827/0.7904, allocations: 1.082 MB / 0.9553 GB, free: 3.559 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches