Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006426/0.006426, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001408/0.001408, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7453 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.84 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.316/4.658, allocations: 1.369 GB / 2.595 GB, free: 93.43 MB / 1.748 GB Notification: Performance of NFInst.instExpressions: time 0.415/5.073, allocations: 333.9 MB / 2.921 GB, free: 29.94 MB / 1.748 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0765/5.15, allocations: 1.222 MB / 2.922 GB, free: 29.18 MB / 1.748 GB Notification: Performance of NFTyping.typeComponents: time 0.04846/5.199, allocations: 13.25 MB / 2.935 GB, free: 17 MB / 1.748 GB Notification: Performance of NFTyping.typeBindings: time 0.1202/5.319, allocations: 32.24 MB / 2.967 GB, free: 5.297 MB / 1.764 GB Notification: Performance of NFTyping.typeClassSections: time 0.06371/5.383, allocations: 19.81 MB / 2.986 GB, free: 3.555 MB / 1.779 GB Notification: Performance of NFFlatten.flatten: time 0.1045/5.487, allocations: 58.22 MB / 3.043 GB, free: 10.89 MB / 1.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05667/5.544, allocations: 23.36 MB / 3.066 GB, free: 3.633 MB / 1.857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07239/5.616, allocations: 25 MB / 3.09 GB, free: 12.07 MB / 1.889 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04835/5.665, allocations: 17.76 MB / 3.108 GB, free: 11.47 MB / 1.904 GB Notification: Performance of NFPackage.collectConstants: time 0.01108/5.676, allocations: 2.129 MB / 3.11 GB, free: 9.34 MB / 1.904 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0525/5.728, allocations: 17.97 MB / 3.127 GB, free: 8.074 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0122/5.741, allocations: 4.877 MB / 3.132 GB, free: 3.25 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02683/5.767, allocations: 11.18 MB / 3.143 GB, free: 8.094 MB / 1.936 GB Notification: Performance of NFConvertDAE.convert: time 0.09312/5.861, allocations: 41.07 MB / 3.183 GB, free: 15.43 MB / 1.982 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/5.861, allocations: 0 / 3.183 GB, free: 15.43 MB / 1.982 GB Notification: Performance of FrontEnd: time 1.443e-06/5.861, allocations: 7.938 kB / 3.183 GB, free: 15.42 MB / 1.982 GB Notification: Performance of Transformations before backend: time 0.001301/5.862, allocations: 0 / 3.183 GB, free: 15.42 MB / 1.982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.0599/5.922, allocations: 21.56 MB / 3.204 GB, free: 9.586 MB / 1.998 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/5.922, allocations: 8.031 kB / 3.204 GB, free: 9.578 MB / 1.998 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/5.933, allocations: 2.35 MB / 3.206 GB, free: 7.215 MB / 1.998 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04394/5.977, allocations: 19.03 MB / 3.225 GB, free: 4.086 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/5.978, allocations: 0.9739 MB / 3.226 GB, free: 3.109 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004757/5.983, allocations: 1.297 MB / 3.227 GB, free: 1.812 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04744/6.03, allocations: 14.62 MB / 3.241 GB, free: 2.406 MB / 2.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007099/6.031, allocations: 39.62 kB / 3.241 GB, free: 2.367 MB / 2.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003713/6.035, allocations: 0.5312 MB / 3.242 GB, free: 1.836 MB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004137/6.035, allocations: 351.9 kB / 3.242 GB, free: 1.492 MB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/6.061, allocations: 10.09 MB / 3.252 GB, free: 7.387 MB / 2.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.685/7.746, allocations: 76.65 MB / 3.327 GB, free: 175.7 MB / 2.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00945/7.755, allocations: 4.57 MB / 3.331 GB, free: 175.1 MB / 2.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/7.76, allocations: 2.434 MB / 3.334 GB, free: 174.8 MB / 2.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08211/7.842, allocations: 51.67 MB / 3.384 GB, free: 136.1 MB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/7.842, allocations: 119.8 kB / 3.384 GB, free: 136.1 MB / 2.045 GB Notification: Performance of pre-optimization done (n=412): time 7.725e-06/7.842, allocations: 2.531 kB / 3.384 GB, free: 136.1 MB / 2.045 GB Notification: Performance of matching and sorting (n=412): time 0.02843/7.871, allocations: 7.08 MB / 3.391 GB, free: 135 MB / 2.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003156/7.871, allocations: 0.7933 MB / 3.392 GB, free: 134.1 MB / 2.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04245/7.913, allocations: 16.68 MB / 3.408 GB, free: 133.2 MB / 2.045 GB Notification: Performance of collectPreVariables (initialization): time 0.001531/7.915, allocations: 142 kB / 3.409 GB, free: 133.1 MB / 2.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.01102/7.926, allocations: 8.69 MB / 3.417 GB, free: 131.6 MB / 2.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.002583/7.929, allocations: 1.529 MB / 3.418 GB, free: 130.7 MB / 2.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003516/7.932, allocations: 1.495 MB / 3.42 GB, free: 130.5 MB / 2.045 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/7.932, allocations: 307.5 kB / 3.42 GB, free: 130.2 MB / 2.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003465/7.936, allocations: 2.08 MB / 3.422 GB, free: 130.2 MB / 2.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/7.943, allocations: 5.285 MB / 3.427 GB, free: 126.6 MB / 2.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009847/7.953, allocations: 7.142 MB / 3.434 GB, free: 123.6 MB / 2.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00021/7.953, allocations: 23.78 kB / 3.434 GB, free: 123.6 MB / 2.045 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02718/7.98, allocations: 8.443 MB / 3.443 GB, free: 122.5 MB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/7.98, allocations: 43.22 kB / 3.443 GB, free: 122.5 MB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002144/7.98, allocations: 80.56 kB / 3.443 GB, free: 122.5 MB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/7.981, allocations: 119.3 kB / 3.443 GB, free: 122.5 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00581/7.986, allocations: 1.458 MB / 3.444 GB, free: 122.5 MB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002183/7.987, allocations: 171.6 kB / 3.444 GB, free: 122.5 MB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01555/8.002, allocations: 1.354 MB / 3.446 GB, free: 121.7 MB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002248/8.005, allocations: 396.2 kB / 3.446 GB, free: 121.7 MB / 2.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (847): * Single equations (assignments): 847 * 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 0.01166/8.016, allocations: 3.571 MB / 3.45 GB, free: 121.6 MB / 2.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006648/8.023, allocations: 1.752 MB / 3.451 GB, free: 120.6 MB / 2.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/8.041, allocations: 7.559 MB / 3.459 GB, free: 120.1 MB / 2.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002501/8.042, allocations: 82.02 kB / 3.459 GB, free: 120.1 MB / 2.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.287e-05/8.042, allocations: 8.062 kB / 3.459 GB, free: 120.1 MB / 2.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005019/8.047, allocations: 3.845 MB / 3.463 GB, free: 118.4 MB / 2.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06095/8.108, allocations: 28.8 MB / 3.491 GB, free: 114.2 MB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.108e-05/8.108, allocations: 31.72 kB / 3.491 GB, free: 114.2 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003071/8.111, allocations: 0.7782 MB / 3.492 GB, free: 114.2 MB / 2.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-05/8.111, allocations: 48.53 kB / 3.492 GB, free: 114.2 MB / 2.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005374/8.112, allocations: 158.8 kB / 3.492 GB, free: 114.2 MB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.634e-05/8.112, allocations: 66.56 kB / 3.492 GB, free: 114.2 MB / 2.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.698e-05/8.112, allocations: 50.94 kB / 3.492 GB, free: 114.2 MB / 2.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/8.13, allocations: 12.04 MB / 3.504 GB, free: 109.8 MB / 2.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01048/8.141, allocations: 2.939 MB / 3.506 GB, free: 108.6 MB / 2.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006242/8.147, allocations: 150.7 kB / 3.507 GB, free: 108.6 MB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01173/8.159, allocations: 258.9 kB / 3.507 GB, free: 108.6 MB / 2.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/8.16, allocations: 409.8 kB / 3.507 GB, free: 108.6 MB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001233/8.161, allocations: 260.3 kB / 3.508 GB, free: 108.6 MB / 2.045 GB Notification: Performance of sorting global known variables: time 0.02865/8.19, allocations: 11.86 MB / 3.519 GB, free: 108.1 MB / 2.045 GB Notification: Performance of sort global known variables: time 3.3e-07/8.19, allocations: 0 / 3.519 GB, free: 108.1 MB / 2.045 GB Notification: Performance of remove unused functions: time 0.02215/8.212, allocations: 5.405 MB / 3.524 GB, free: 107.3 MB / 2.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * 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.01268/8.225, allocations: 4.453 MB / 3.529 GB, free: 106.3 MB / 2.045 GB Notification: Performance of simCode: created initialization part: time 0.01222/8.237, allocations: 5.665 MB / 3.534 GB, free: 106.2 MB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 6.248e-05/8.237, allocations: 7.062 kB / 3.534 GB, free: 106.2 MB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004862/8.242, allocations: 2.581 MB / 3.537 GB, free: 106.2 MB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05692/8.299, allocations: 10.01 MB / 3.547 GB, free: 101.4 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05271/8.352, allocations: 28.83 MB / 3.575 GB, free: 77.33 MB / 2.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01364/8.365, allocations: 7.781 MB / 3.582 GB, free: 72.28 MB / 2.045 GB Notification: Performance of simCode: alias equations: time 0.01797/8.383, allocations: 3.243 MB / 3.585 GB, free: 69.86 MB / 2.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006486/8.39, allocations: 1.074 MB / 3.587 GB, free: 68.87 MB / 2.045 GB Notification: Performance of SimCode: time 4.969e-06/8.39, allocations: 0 / 3.587 GB, free: 68.87 MB / 2.045 GB Notification: Performance of Templates: time 0.5523/8.942, allocations: 354.4 MB / 3.933 GB, free: 11.21 MB / 2.326 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches