Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001652/0.001652, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00194/0.00194, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.805/2.805, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.19 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3579, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002361/0.3603, allocations: 1.27 MB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008731/0.3612, allocations: 474.5 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.3612, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.3613, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.3613, allocations: 7.875 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.3617, allocations: 87.78 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.533e-05/0.3618, allocations: 15.98 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.3618, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.502e-05/0.3619, allocations: 11.98 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.149e-05/0.3619, allocations: 7.938 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3619, allocations: 4 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.3621, allocations: 103.8 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.3622, allocations: 19.91 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.3622, allocations: 11.88 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3624, allocations: 103.8 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3624, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3624, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.3624, allocations: 3.938 kB / 1.054 GB, free: 6.762 MB / 0.8106 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.0004842/0.3629, allocations: 385.3 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3629, allocations: 12.03 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.363, allocations: 4.938 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3631, allocations: 164.4 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3631, allocations: 4.375 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-06/0.3631, allocations: 384 / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.3632, allocations: 46.23 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3633, allocations: 192 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3633, allocations: 7.922 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3633, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.3633, allocations: 4 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.3635, allocations: 157.7 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.3636, allocations: 34.55 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.3636, allocations: 12.86 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.3636, allocations: 4 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3638, allocations: 59.39 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3638, allocations: 4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/0.364, allocations: 73.55 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.364, allocations: 51.41 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.3641, allocations: 105.8 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3641, allocations: 29.7 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.3642, allocations: 84.14 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.3642, allocations: 7.844 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.3642, allocations: 25.66 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3644, allocations: 322.8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.3644, allocations: 4 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.3644, allocations: 39.42 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/0.3645, allocations: 43.38 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3645, allocations: 4 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001026/0.3646, allocations: 73.47 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3646, allocations: 9.344 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3646, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3646, allocations: 3.984 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.3647, allocations: 8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3647, allocations: 4.141 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.3648, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3648, allocations: 7.938 kB / 1.056 GB, free: 4.742 MB / 0.8106 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.413e-05/0.3649, allocations: 119.5 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.3649, allocations: 3.938 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.3649, allocations: 11.89 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3649, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3649, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3649, allocations: 240 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.365, allocations: 157.6 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3651, allocations: 4.188 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.3651, allocations: 7.984 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3651, allocations: 11.94 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3651, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.3651, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3651, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.3652, allocations: 85.11 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.3653, allocations: 77.11 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3653, allocations: 7.922 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.3653, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.3654, allocations: 8 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3654, allocations: 0 / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.3654, allocations: 83.27 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3654, allocations: 4 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002347/0.3657, allocations: 31.94 kB / 1.056 GB, free: 4.039 MB / 0.8106 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.0003202/0.366, allocations: 169.2 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3661, allocations: 23.98 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3661, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.3662, allocations: 19.92 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3663, allocations: 7.938 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.3666, allocations: 118.5 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3669, allocations: 0.685 MB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.3669, allocations: 0 / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.367, allocations: 11.44 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.367, allocations: 0 / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of Templates: time 0.003176/0.3702, allocations: 1.066 MB / 1.059 GB, free: 1.895 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches