Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001065/0.001065, allocations: 98.88 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.001301/0.001301, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.348 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.579/2.579, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 11.94 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.6904, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001341/0.6918, allocations: 0.9527 MB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009293/0.6927, allocations: 442.7 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.6928, allocations: 3.938 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.6928, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.6928, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.6934, allocations: 87.78 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.6935, allocations: 19.92 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.6935, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.6935, allocations: 11.94 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.6936, allocations: 15.91 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.6936, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.6939, allocations: 99.83 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.6939, allocations: 8 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.6939, allocations: 41.62 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.6941, allocations: 71.89 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6941, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6941, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.6941, allocations: 0 / 1.025 GB, free: 14.09 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.0004535/0.6946, allocations: 383.1 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6947, allocations: 8.031 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.6947, allocations: 4.844 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.6948, allocations: 168.3 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.6948, allocations: 4.375 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6949, allocations: 8.375 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.695, allocations: 38.23 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.695, allocations: 192 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.695, allocations: 3.938 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.695, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.6951, allocations: 7.938 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.6952, allocations: 153.7 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.6953, allocations: 38.61 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.6954, allocations: 12.86 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.6954, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.6955, allocations: 59.42 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.6956, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002194/0.6958, allocations: 77.52 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.6958, allocations: 55.41 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.6959, allocations: 105.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.6959, allocations: 29.64 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.696, allocations: 84.14 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.696, allocations: 7.906 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.696, allocations: 13.72 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6961, allocations: 318.8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.6962, allocations: 8 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.03e-05/0.6962, allocations: 39.36 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.6963, allocations: 43.56 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6963, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001096/0.6964, allocations: 73.55 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6964, allocations: 14.22 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6964, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6965, allocations: 4 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.6965, allocations: 7.984 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6965, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.6966, allocations: 3.906 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.6966, allocations: 8 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.728e-05/0.6967, allocations: 110.3 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.6967, allocations: 7.938 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.6967, allocations: 11.91 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.6967, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6968, allocations: 3.984 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6968, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.6969, allocations: 153.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6969, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.6969, allocations: 256 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.6969, allocations: 3.938 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.697, allocations: 12 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.697, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.697, allocations: 4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.6971, allocations: 85.02 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.6972, allocations: 81.11 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.6972, allocations: 7.875 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.6972, allocations: 3.984 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.6972, allocations: 4 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.6973, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.6973, allocations: 83.28 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6973, allocations: 4 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002569/0.6976, allocations: 31.98 kB / 1.028 GB, free: 11.39 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.0003804/0.698, allocations: 175.1 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.6981, allocations: 31.92 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6981, allocations: 4.188 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.6981, allocations: 15.98 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.6983, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.6986, 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.0002167/0.6988, 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.548e-05/0.6988, allocations: 7.438 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.6988, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.003111/0.7019, allocations: 1.241 MB / 1.03 GB, free: 9.047 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches