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.001178/0.001178, 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.001301/0.001301, allocations: 195.8 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.387/2.387, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 55.91 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7628, allocations: 140.4 MB / 0.9489 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002048/0.7649, allocations: 1.287 MB / 0.9502 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.7658, allocations: 454.6 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.7658, allocations: 0 / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.7658, allocations: 9.109 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.608e-05/0.7659, allocations: 0 / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.7663, allocations: 96.69 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.7664, allocations: 17.86 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.7664, allocations: 1.312 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.7665, allocations: 12.19 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.568e-05/0.7665, allocations: 10.67 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.7665, allocations: 2.469 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.7667, allocations: 102.5 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.7667, allocations: 9.219 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.7668, allocations: 15.69 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.767, allocations: 99.8 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.767, allocations: 0 / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.767, allocations: 0 / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.767, allocations: 1.281 kB / 0.951 GB, free: 7.641 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.0004018/0.7674, allocations: 380.5 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7674, allocations: 9.688 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.7675, allocations: 10.38 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.916e-05/0.7676, allocations: 173.7 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.7676, allocations: 6.156 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.7676, allocations: 6.109 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.7677, allocations: 35.53 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.7677, allocations: 192 / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7677, allocations: 9 kB / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.7677, allocations: 0 / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.7678, allocations: 8 kB / 0.9516 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.7679, allocations: 158.1 kB / 0.9517 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.469e-05/0.768, allocations: 35.17 kB / 0.9517 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.768, allocations: 14.91 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.768, allocations: 0 / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.7681, allocations: 51.53 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.7682, allocations: 1.969 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001957/0.7684, allocations: 72.58 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.7684, allocations: 61.47 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.7685, allocations: 109.4 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.7685, allocations: 29.7 kB / 0.9521 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.7685, allocations: 82.58 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.7685, allocations: 9.062 kB / 0.9522 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.7686, allocations: 22.8 kB / 0.9522 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.7686, allocations: 312.4 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.7686, allocations: 9.375 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.7686, allocations: 33.55 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.7687, allocations: 45.09 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7687, allocations: 0 / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.359e-05/0.7688, allocations: 73.11 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.7688, allocations: 8.875 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7688, allocations: 1.375 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7688, allocations: 5.406 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.7689, allocations: 10.94 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7689, allocations: 1.594 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.7689, allocations: 5.25 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.769, allocations: 6.453 kB / 0.9527 GB, free: 5.805 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 5.097e-05/0.769, allocations: 112.7 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.769, allocations: 9.438 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.7691, allocations: 13.3 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.7691, allocations: 1.312 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7691, allocations: 0 / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.7691, allocations: 0 / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.991e-05/0.7692, allocations: 159.1 kB / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7692, allocations: 0 / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.7692, allocations: 1.438 kB / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7692, allocations: 9.328 kB / 0.953 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.7692, allocations: 4 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7692, allocations: 5.406 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7692, allocations: 0 / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.7693, allocations: 90.98 kB / 0.9531 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.7693, allocations: 78.3 kB / 0.9531 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.7694, allocations: 5.031 kB / 0.9531 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.7694, allocations: 0 / 0.9531 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.7694, allocations: 2.5 kB / 0.9531 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.7694, allocations: 1.594 kB / 0.9531 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.7695, allocations: 95.98 kB / 0.9532 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7695, allocations: 0 / 0.9532 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002408/0.7697, allocations: 28.44 kB / 0.9533 GB, free: 5.168 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.0002996/0.77, allocations: 164.8 kB / 0.9534 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.7701, allocations: 33.98 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7701, allocations: 0 / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.7702, allocations: 12.19 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.7703, allocations: 2.891 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.7705, allocations: 122.6 kB / 0.9536 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.02e-05/0.7706, allocations: 0.6784 MB / 0.9542 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.7707, allocations: 10.3 kB / 0.9543 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.7707, allocations: 8.656 kB / 0.9543 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7707, allocations: 1.094 kB / 0.9543 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.003002/0.7737, allocations: 1.086 MB / 0.9553 GB, free: 3.613 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