Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001407, allocations: 110.6 kB / 16.41 MB, free: 6.469 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.001617/0.001617, 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.7 MB / 0.746 GB, free: 400 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.91 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8468/0.8483, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.2721/1.12, allocations: 261.6 MB / 1.482 GB, free: 6.871 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02931/1.15, allocations: 20.13 MB / 1.502 GB, free: 2.68 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/1.153, allocations: 83.5 kB / 1.502 GB, free: 2.598 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0038/1.157, allocations: 1.231 MB / 1.503 GB, free: 1.359 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/1.169, allocations: 3.854 MB / 1.507 GB, free: 13.49 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007518/1.177, allocations: 2.584 MB / 1.509 GB, free: 10.91 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.02216/1.199, allocations: 16.39 MB / 1.525 GB, free: 10.48 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/1.209, allocations: 6.992 MB / 1.532 GB, free: 3.387 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/1.222, allocations: 6.11 MB / 1.538 GB, free: 13.29 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009053/1.231, allocations: 4.724 MB / 1.543 GB, free: 8.555 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002381/1.234, allocations: 0.6992 MB / 1.543 GB, free: 7.855 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/1.244, allocations: 4.18 MB / 1.547 GB, free: 3.668 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003893/1.248, allocations: 2.018 MB / 1.549 GB, free: 1.645 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.008965/1.257, allocations: 3.704 MB / 1.553 GB, free: 13.93 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0213/1.279, allocations: 12.51 MB / 1.565 GB, free: 1.375 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.279, allocations: 0 / 1.565 GB, free: 1.375 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.944e-06/1.279, allocations: 0 / 1.565 GB, free: 1.375 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004189/1.279, allocations: 0 / 1.565 GB, free: 1.375 MB / 1.279 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.7022/1.981, allocations: 7.326 MB / 1.572 GB, free: 330.3 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.981, allocations: 14.14 kB / 1.572 GB, free: 330.3 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008682/1.99, allocations: 1.267 MB / 1.574 GB, free: 329.9 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/2.005, allocations: 5.956 MB / 1.579 GB, free: 327.1 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/2.006, allocations: 310.7 kB / 1.58 GB, free: 326.9 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/2.007, allocations: 410.8 kB / 1.58 GB, free: 326.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/2.02, allocations: 5.964 MB / 1.586 GB, free: 324.6 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/2.021, allocations: 9.391 kB / 1.586 GB, free: 324.6 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/2.021, allocations: 166.6 kB / 1.586 GB, free: 324.4 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/2.021, allocations: 200.5 kB / 1.586 GB, free: 324.4 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008871/2.03, allocations: 5.305 MB / 1.591 GB, free: 322.2 MB / 1.279 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.03192/2.062, allocations: 24.32 MB / 1.615 GB, free: 297.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/2.066, allocations: 3.697 MB / 1.619 GB, free: 294.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/2.069, allocations: 2.187 MB / 1.621 GB, free: 292 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/2.07, allocations: 0.9919 MB / 1.622 GB, free: 290.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002375/2.072, allocations: 1.916 MB / 1.624 GB, free: 288.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=274): time 4.969e-06/2.072, allocations: 0 / 1.624 GB, free: 288.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.01602/2.088, allocations: 9.782 MB / 1.633 GB, free: 278.8 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/2.088, allocations: 132.9 kB / 1.633 GB, free: 278.7 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005941/2.094, allocations: 4.297 MB / 1.638 GB, free: 274.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008262/2.095, allocations: 85.7 kB / 1.638 GB, free: 274.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001858/2.097, allocations: 2.239 MB / 1.64 GB, free: 272 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001148/2.098, allocations: 1.008 MB / 1.641 GB, free: 271 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009032/2.099, allocations: 0.6038 MB / 1.641 GB, free: 270.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/2.099, allocations: 301.1 kB / 1.642 GB, free: 270.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/2.101, allocations: 1.662 MB / 1.643 GB, free: 268.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/2.104, allocations: 2.335 MB / 1.646 GB, free: 265.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004805/2.109, allocations: 4.155 MB / 1.65 GB, free: 261.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/2.109, allocations: 4 kB / 1.65 GB, free: 261.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.007161/2.116, allocations: 4.729 MB / 1.654 GB, free: 256.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/2.116, allocations: 75.39 kB / 1.654 GB, free: 256.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/2.116, allocations: 12 kB / 1.654 GB, free: 256.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/2.116, allocations: 132.1 kB / 1.655 GB, free: 256.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/2.119, allocations: 0.6786 MB / 1.655 GB, free: 255.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/2.121, allocations: 2.986 MB / 1.658 GB, free: 252.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004021/2.125, allocations: 227.7 kB / 1.658 GB, free: 252.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004524/2.126, allocations: 120 kB / 1.658 GB, free: 252.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005219/2.131, allocations: 3.523 MB / 1.662 GB, free: 248.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002862/2.134, allocations: 2.336 MB / 1.664 GB, free: 246.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005491/2.139, allocations: 4.136 MB / 1.668 GB, free: 241.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.942e-05/2.139, allocations: 4 kB / 1.668 GB, free: 241.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=394) (initialization_lambda0): time 0.008059/2.147, allocations: 4.716 MB / 1.673 GB, free: 237.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/2.147, allocations: 79.38 kB / 1.673 GB, free: 237.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/2.148, allocations: 19.66 kB / 1.673 GB, free: 237.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/2.148, allocations: 128.6 kB / 1.673 GB, free: 236.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/2.151, allocations: 0.6593 MB / 1.674 GB, free: 236.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/2.152, allocations: 2.38 MB / 1.676 GB, free: 233.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/2.157, allocations: 240 kB / 1.676 GB, free: 233.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004342/2.157, allocations: 126.1 kB / 1.676 GB, free: 233.4 MB / 1.279 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.0009724/2.158, allocations: 426.9 kB / 1.677 GB, free: 233 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/2.159, allocations: 445.2 kB / 1.677 GB, free: 232.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007236/2.167, allocations: 4.146 MB / 1.681 GB, free: 228.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00459/2.171, allocations: 3.49 MB / 1.685 GB, free: 224.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/2.171, allocations: 4 kB / 1.685 GB, free: 224.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/2.174, allocations: 0.9824 MB / 1.686 GB, free: 223.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/2.175, allocations: 63.98 kB / 1.686 GB, free: 223.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/2.179, allocations: 189 kB / 1.686 GB, free: 223.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/2.179, allocations: 157.9 kB / 1.686 GB, free: 223.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00796/2.187, allocations: 4.524 MB / 1.69 GB, free: 218.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008365/2.195, allocations: 6.395 MB / 1.697 GB, free: 212.3 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001925/2.197, allocations: 1.863 MB / 1.698 GB, free: 210.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005438/2.203, allocations: 3.034 MB / 1.701 GB, free: 207.4 MB / 1.279 GB Notification: Performance of Backend: time 3.01e-07/2.203, allocations: 7.938 kB / 1.701 GB, free: 207.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01249/2.215, allocations: 6.205 MB / 1.707 GB, free: 201.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.02254/2.238, allocations: 12.63 MB / 1.72 GB, free: 188.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1396/2.377, allocations: 114.3 MB / 1.831 GB, free: 75.02 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches