Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001058/0.001058, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001278, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 23.98 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6628, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001257/0.6641, allocations: 0.9526 MB / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.6651, allocations: 446.7 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.6651, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.6651, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.811e-05/0.6652, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.6656, allocations: 91.78 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.6657, allocations: 19.92 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.6657, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.6658, allocations: 19.91 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.6658, allocations: 7.938 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.6658, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.666, allocations: 99.83 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.6661, allocations: 8 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.6661, allocations: 37.62 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.6663, allocations: 75.89 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6663, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6663, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.6663, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 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.0004323/0.6667, allocations: 383.1 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6668, allocations: 8.031 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.6668, allocations: 4.844 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.6669, allocations: 168.3 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.667, allocations: 384 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.667, allocations: 12.36 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.6671, allocations: 42.19 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.6671, allocations: 4.188 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.6671, allocations: 3.938 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6671, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.6672, allocations: 3.938 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.6673, allocations: 161.7 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.295e-05/0.6674, allocations: 26.58 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.6675, allocations: 16.95 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.6675, allocations: 3.984 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.6676, allocations: 55.33 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.6676, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.6678, allocations: 77.52 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6679, allocations: 55.41 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.668, allocations: 109.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.668, allocations: 25.7 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.668, allocations: 80.14 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.6681, allocations: 11.91 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.6681, allocations: 13.7 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6682, allocations: 318.8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.6682, allocations: 7.938 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.6683, allocations: 43.41 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/0.6684, allocations: 47.31 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6684, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001215/0.6685, allocations: 65.62 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6685, allocations: 11.92 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6685, allocations: 4.094 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6685, allocations: 4 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.6686, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6686, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.6687, allocations: 3.906 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.6687, allocations: 7.938 kB / 1.027 GB, free: 12.09 MB / 0.7794 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.181e-05/0.6687, allocations: 114.4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.6688, allocations: 3.938 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.6688, allocations: 11.89 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.6688, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6688, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6688, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.6689, allocations: 161.6 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.669, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.669, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.669, allocations: 7.938 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.669, allocations: 3.984 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.669, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.669, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.6691, allocations: 92.97 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.6692, allocations: 85.09 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.6692, allocations: 8.125 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.6692, allocations: 4 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.6693, allocations: 4 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.6693, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.6693, allocations: 83.27 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6693, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002494/0.6696, allocations: 36 kB / 1.028 GB, free: 11.38 MB / 0.7794 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.0003413/0.6699, allocations: 160.3 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.67, allocations: 31.92 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6701, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.6701, allocations: 16.17 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.6702, allocations: 4 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.6705, allocations: 136.5 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.6707, allocations: 0.6809 MB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.6708, allocations: 7.438 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6708, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.002805/0.6736, allocations: 1.249 MB / 1.03 GB, free: 9.039 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches