Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.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.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_aDisSup.m_flow|con.port_bDisRet.m_flow|con.port_aDisSup.p|con.port_bDisRet.p|con.port_bCon.p|con.port_aCon.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_aDisSup.m_flow|con.port_bDisRet.m_flow|con.port_aDisSup.p|con.port_bDisRet.p|con.port_bCon.p|con.port_aCon.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001252, allocations: 107.7 kB / 16.41 MB, free: 6.477 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.001334/0.001334, allocations: 187.9 kB / 17.35 MB, free: 5.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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 64.11 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9224/0.9239, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.28/1.204, allocations: 265.5 MB / 1.486 GB, free: 3.023 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03457/1.239, allocations: 24.32 MB / 1.509 GB, free: 10.64 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/1.242, allocations: 91.5 kB / 1.509 GB, free: 10.55 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/1.244, allocations: 0.8621 MB / 1.51 GB, free: 9.684 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00998/1.254, allocations: 3.663 MB / 1.514 GB, free: 6.02 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/1.258, allocations: 1.258 MB / 1.515 GB, free: 4.773 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00534/1.263, allocations: 3.245 MB / 1.518 GB, free: 1.52 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/1.265, allocations: 1.165 MB / 1.519 GB, free: 328 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009204/1.274, allocations: 3.451 MB / 1.523 GB, free: 12.86 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/1.276, allocations: 0.9334 MB / 1.524 GB, free: 11.92 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000337/1.277, allocations: 84 kB / 1.524 GB, free: 11.84 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008617/1.285, allocations: 3.772 MB / 1.527 GB, free: 8.059 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005337/1.286, allocations: 262.9 kB / 1.528 GB, free: 7.801 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/1.287, allocations: 0.6373 MB / 1.528 GB, free: 7.16 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.008294/1.296, allocations: 3.33 MB / 1.532 GB, free: 3.82 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.296, allocations: 8 kB / 1.532 GB, free: 3.812 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.974e-06/1.296, allocations: 3.938 kB / 1.532 GB, free: 3.809 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.346e-05/1.296, allocations: 0 / 1.532 GB, free: 3.809 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.004655/1.301, allocations: 1.784 MB / 1.533 GB, free: 1.965 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.301, allocations: 8.031 kB / 1.533 GB, free: 1.957 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/1.303, allocations: 294.9 kB / 1.534 GB, free: 1.668 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/1.306, allocations: 1.191 MB / 1.535 GB, free: 432 kB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/1.306, allocations: 49.31 kB / 1.535 GB, free: 384 kB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/1.306, allocations: 64 kB / 1.535 GB, free: 320 kB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/1.307, allocations: 0.6761 MB / 1.536 GB, free: 15.57 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.307, allocations: 7.875 kB / 1.536 GB, free: 15.57 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/1.307, allocations: 24 kB / 1.536 GB, free: 15.54 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.307, allocations: 16 kB / 1.536 GB, free: 15.53 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/1.308, allocations: 428.8 kB / 1.536 GB, free: 15.11 MB / 1.264 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 0.006228/1.315, allocations: 5.359 MB / 1.541 GB, free: 9.211 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/1.315, allocations: 197 kB / 1.541 GB, free: 8.973 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/1.315, allocations: 116.2 kB / 1.542 GB, free: 8.844 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/1.315, allocations: 206.2 kB / 1.542 GB, free: 8.605 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.316, allocations: 46.47 kB / 1.542 GB, free: 8.551 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005786/1.316, allocations: 59.72 kB / 1.542 GB, free: 8.492 MB / 1.264 GB Notification: Performance of pre-optimization done (n=13): time 3.606e-06/1.316, allocations: 0 / 1.542 GB, free: 8.492 MB / 1.264 GB Notification: Performance of matching and sorting (n=13): time 0.00111/1.317, allocations: 353 kB / 1.542 GB, free: 8.141 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.317, allocations: 154.2 kB / 1.542 GB, free: 7.953 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/1.319, allocations: 1.175 MB / 1.543 GB, free: 6.77 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/1.319, allocations: 29.7 kB / 1.544 GB, free: 6.734 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/1.32, allocations: 0.5827 MB / 1.544 GB, free: 6.148 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/1.32, allocations: 51.62 kB / 1.544 GB, free: 6.098 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.32, allocations: 97.59 kB / 1.544 GB, free: 5.996 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.32, allocations: 317.9 kB / 1.545 GB, free: 5.68 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/1.32, allocations: 96.8 kB / 1.545 GB, free: 5.582 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/1.321, allocations: 387.4 kB / 1.545 GB, free: 5.066 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/1.322, allocations: 441.5 kB / 1.545 GB, free: 4.527 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/1.322, allocations: 4 kB / 1.545 GB, free: 4.523 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001104/1.323, allocations: 0.5007 MB / 1.546 GB, free: 4.016 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.323, allocations: 8 kB / 1.546 GB, free: 4.008 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.323, allocations: 8 kB / 1.546 GB, free: 4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.323, allocations: 11.94 kB / 1.546 GB, free: 3.988 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/1.323, allocations: 83.83 kB / 1.546 GB, free: 3.906 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/1.323, allocations: 15.98 kB / 1.546 GB, free: 3.891 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/1.324, allocations: 52.25 kB / 1.546 GB, free: 3.84 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/1.324, allocations: 27.98 kB / 1.546 GB, free: 3.812 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005161/1.325, allocations: 308.4 kB / 1.546 GB, free: 3.508 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004314/1.325, allocations: 384.1 kB / 1.547 GB, free: 2.992 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006042/1.326, allocations: 437.5 kB / 1.547 GB, free: 2.457 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/1.326, allocations: 0 / 1.547 GB, free: 2.457 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001052/1.327, allocations: 0.4895 MB / 1.548 GB, free: 1.961 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.327, allocations: 12 kB / 1.548 GB, free: 1.949 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.327, allocations: 8 kB / 1.548 GB, free: 1.941 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.327, allocations: 12 kB / 1.548 GB, free: 1.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/1.327, allocations: 87.83 kB / 1.548 GB, free: 1.844 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/1.327, allocations: 11.94 kB / 1.548 GB, free: 1.832 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/1.328, allocations: 43.95 kB / 1.548 GB, free: 1.789 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/1.328, allocations: 27.98 kB / 1.548 GB, free: 1.762 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001782/1.328, allocations: 224 kB / 1.548 GB, free: 1.535 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/1.329, allocations: 119.2 kB / 1.548 GB, free: 1.418 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006141/1.329, allocations: 253.5 kB / 1.548 GB, free: 1.156 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.329, allocations: 0 / 1.548 GB, free: 1.156 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.329, allocations: 8 kB / 1.548 GB, free: 1.148 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/1.33, allocations: 224.3 kB / 1.549 GB, free: 0.9102 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/1.33, allocations: 4 kB / 1.549 GB, free: 0.9062 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/1.331, allocations: 31.95 kB / 1.549 GB, free: 0.875 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/1.331, allocations: 7.938 kB / 1.549 GB, free: 0.8672 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005781/1.331, allocations: 0.5487 MB / 1.549 GB, free: 316 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008037/1.332, allocations: 0.7358 MB / 1.55 GB, free: 15.55 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001589/1.332, allocations: 63.89 kB / 1.55 GB, free: 15.49 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001456/1.334, allocations: 0.8128 MB / 1.551 GB, free: 14.68 MB / 1.279 GB Notification: Performance of Backend: time 4.4e-07/1.334, allocations: 4 kB / 1.551 GB, free: 14.67 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004651/1.338, allocations: 1.106 MB / 1.552 GB, free: 13.57 MB / 1.279 GB Notification: Performance of SimCode: time 0.004676/1.343, allocations: 2.384 MB / 1.554 GB, free: 11.14 MB / 1.279 GB Notification: Performance of Templates: time 0.7451/2.088, allocations: 30.62 MB / 1.584 GB, free: 332.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches