Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002771/0.002771, allocations: 208.4 kB / 23 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.724/1.724, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.894/3.894, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 74.95 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6372/0.6394, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.3752/1.015, allocations: 233.4 MB / 1.555 GB, free: 6.734 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03846/1.053, allocations: 18.68 MB / 1.573 GB, free: 4.004 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005931/1.059, allocations: 115.1 kB / 1.573 GB, free: 3.891 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005075/1.064, allocations: 1.176 MB / 1.575 GB, free: 2.707 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01592/1.08, allocations: 3.886 MB / 1.578 GB, free: 14.8 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.09, allocations: 2.622 MB / 1.581 GB, free: 12.19 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.03149/1.122, allocations: 16.77 MB / 1.597 GB, free: 11.39 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/1.132, allocations: 4.696 MB / 1.602 GB, free: 6.59 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0229/1.155, allocations: 6.579 MB / 1.608 GB, free: 16 kB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 1.742/2.897, allocations: 4.93 MB / 1.613 GB, free: 38.87 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004796/2.902, allocations: 0.6995 MB / 1.614 GB, free: 38.87 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02004/2.922, allocations: 3.613 MB / 1.617 GB, free: 38.87 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00927/2.931, allocations: 2.083 MB / 1.619 GB, free: 38.87 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02325/2.954, allocations: 2.974 MB / 1.622 GB, free: 38.82 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.04331/2.998, allocations: 12.5 MB / 1.634 GB, free: 37.55 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/2.998, allocations: 2.219 kB / 1.634 GB, free: 37.55 MB / 1.295 GB Notification: Performance of FrontEnd: time 5.149e-06/2.998, allocations: 3 kB / 1.634 GB, free: 37.55 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0007221/2.999, allocations: 1.25 kB / 1.634 GB, free: 37.55 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.04299/3.042, allocations: 7.266 MB / 1.642 GB, free: 34.79 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 8.941e-05/3.042, allocations: 11.12 kB / 1.642 GB, free: 34.79 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/3.054, allocations: 1.273 MB / 1.643 GB, free: 34.45 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/3.079, allocations: 6.014 MB / 1.649 GB, free: 33.51 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007327/3.079, allocations: 310.1 kB / 1.649 GB, free: 33.5 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004145/3.083, allocations: 419.8 kB / 1.649 GB, free: 33.49 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/3.114, allocations: 6.748 MB / 1.656 GB, free: 32.18 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005001/3.115, allocations: 9.578 kB / 1.656 GB, free: 32.18 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003168/3.118, allocations: 175 kB / 1.656 GB, free: 32.18 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004478/3.119, allocations: 195.9 kB / 1.656 GB, free: 32.18 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/3.139, allocations: 5.348 MB / 1.662 GB, free: 32.08 MB / 1.295 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.06518/3.205, allocations: 16.7 MB / 1.678 GB, free: 28.96 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008356/3.213, allocations: 3.206 MB / 1.681 GB, free: 28.83 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004817/3.218, allocations: 2.099 MB / 1.683 GB, free: 28.73 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/3.219, allocations: 174.5 kB / 1.683 GB, free: 28.72 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005342/3.224, allocations: 2.708 MB / 1.686 GB, free: 27.59 MB / 1.295 GB Notification: Performance of pre-optimization done (n=274): time 8.606e-06/3.224, allocations: 0 / 1.686 GB, free: 27.59 MB / 1.295 GB Notification: Performance of matching and sorting (n=278): time 0.03046/3.255, allocations: 9.829 MB / 1.695 GB, free: 25.85 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/3.255, allocations: 140.4 kB / 1.696 GB, free: 25.72 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/3.27, allocations: 4.195 MB / 1.7 GB, free: 25.39 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/3.271, allocations: 84.73 kB / 1.7 GB, free: 25.36 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004003/3.275, allocations: 2.257 MB / 1.702 GB, free: 24.57 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002213/3.277, allocations: 1.007 MB / 1.703 GB, free: 23.92 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/3.279, allocations: 0.5917 MB / 1.704 GB, free: 23.88 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/3.279, allocations: 304.7 kB / 1.704 GB, free: 23.58 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/3.283, allocations: 1.73 MB / 1.706 GB, free: 23.49 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/3.286, allocations: 3.036 MB / 1.709 GB, free: 22.03 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006276/3.293, allocations: 4.155 MB / 1.713 GB, free: 20.52 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/3.293, allocations: 2.781 kB / 1.713 GB, free: 20.52 MB / 1.295 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.009744/3.302, allocations: 4.801 MB / 1.717 GB, free: 18.64 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/3.302, allocations: 76.47 kB / 1.717 GB, free: 18.58 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/3.303, allocations: 14.5 kB / 1.717 GB, free: 18.58 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/3.303, allocations: 130.2 kB / 1.717 GB, free: 18.55 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/3.306, allocations: 0.6716 MB / 1.718 GB, free: 18.53 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/3.309, allocations: 2.827 MB / 1.721 GB, free: 16.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/3.315, allocations: 211.6 kB / 1.721 GB, free: 16.14 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004866/3.315, allocations: 122.8 kB / 1.721 GB, free: 16.11 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009449/3.325, allocations: 3.598 MB / 1.725 GB, free: 14.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004429/3.329, allocations: 3.029 MB / 1.728 GB, free: 12.59 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007723/3.337, allocations: 4.133 MB / 1.732 GB, free: 10.54 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-05/3.337, allocations: 7.125 kB / 1.732 GB, free: 10.54 MB / 1.295 GB Notification: Performance of matching and sorting (n=394) (initialization_lambda0): time 0.01241/3.349, allocations: 4.782 MB / 1.736 GB, free: 8.676 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/3.349, allocations: 78.84 kB / 1.736 GB, free: 8.609 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/3.349, allocations: 19.47 kB / 1.736 GB, free: 8.605 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/3.35, allocations: 122 kB / 1.737 GB, free: 8.574 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/3.353, allocations: 0.664 MB / 1.737 GB, free: 8.551 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/3.356, allocations: 2.212 MB / 1.739 GB, free: 6.816 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006459/3.362, allocations: 239.8 kB / 1.74 GB, free: 6.754 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005872/3.363, allocations: 121.9 kB / 1.74 GB, free: 6.727 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (373): * Single equations (assignments): 365 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001729/3.365, allocations: 431.8 kB / 1.74 GB, free: 6.387 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002983/3.368, allocations: 436.7 kB / 1.741 GB, free: 6.16 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/3.378, allocations: 4.205 MB / 1.745 GB, free: 3.883 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006477/3.384, allocations: 3.564 MB / 1.748 GB, free: 1.926 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/3.384, allocations: 7.641 kB / 1.748 GB, free: 1.922 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00559/3.39, allocations: 0.9191 MB / 1.749 GB, free: 1.352 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00276/3.393, allocations: 73.61 kB / 1.749 GB, free: 1.301 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005268/3.398, allocations: 177.5 kB / 1.749 GB, free: 1.199 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005482/3.399, allocations: 166 kB / 1.749 GB, free: 1.094 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01174/3.41, allocations: 4.572 MB / 1.754 GB, free: 14.59 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01439/3.425, allocations: 6.538 MB / 1.76 GB, free: 9.211 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003465/3.428, allocations: 1.785 MB / 1.762 GB, free: 7.398 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01144/3.44, allocations: 2.958 MB / 1.765 GB, free: 4.43 MB / 1.311 GB Notification: Performance of Backend: time 6.92e-07/3.44, allocations: 0 / 1.765 GB, free: 4.43 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02841/3.468, allocations: 5.883 MB / 1.771 GB, free: 14.72 MB / 1.326 GB Notification: Performance of SimCode: time 0.04254/3.511, allocations: 12.6 MB / 1.783 GB, free: 2.242 MB / 1.326 GB Notification: Performance of Templates: time 0.2517/3.762, allocations: 125.6 MB / 1.906 GB, free: 6.461 MB / 1.451 GB " [Timeout remaining time 296] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.192436719000398]