Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.002058/0.002058, allocations: 191.8 kB / 17.2 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.05 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.308, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002216/0.3103, allocations: 0.5854 MB / 0.9508 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.313, allocations: 1.719 MB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.3131, allocations: 0 / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.3131, allocations: 4 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.3132, allocations: 3.938 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3144, allocations: 307.3 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.3146, allocations: 131.8 kB / 0.9529 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.3147, allocations: 11.94 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.3148, allocations: 51.89 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3149, allocations: 47.94 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.3149, allocations: 8 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.3155, allocations: 295.6 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.3155, allocations: 43.89 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.3156, allocations: 39.73 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.3161, allocations: 275.4 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3161, allocations: 0 / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3161, allocations: 0 / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3162, allocations: 7.938 kB / 0.9537 GB, free: 5.316 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007624/0.3169, allocations: 447.3 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.317, allocations: 8.031 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.317, allocations: 12.84 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3172, allocations: 168.3 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3172, allocations: 11.94 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3172, allocations: 16 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.3176, allocations: 219.1 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3176, allocations: 4 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3176, allocations: 4 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3177, allocations: 4 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.3179, allocations: 175.8 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.3183, allocations: 278 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.3191, allocations: 415.8 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.3194, allocations: 181.1 kB / 0.9555 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.3198, allocations: 199.2 kB / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.3198, allocations: 38.56 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.3198, allocations: 0 / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0006642/0.3205, allocations: 389.3 kB / 0.9561 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.3206, allocations: 191.9 kB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.3207, allocations: 93.86 kB / 0.9564 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3207, allocations: 33.64 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.3208, allocations: 80.7 kB / 0.9565 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3209, allocations: 102.5 kB / 0.9566 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.321, allocations: 61.69 kB / 0.9567 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3211, allocations: 322.8 kB / 0.957 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3212, allocations: 83.92 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3214, allocations: 146.2 kB / 0.9572 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.3218, allocations: 262.2 kB / 0.9575 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3218, allocations: 0 / 0.9575 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004352/0.3222, allocations: 285.6 kB / 0.9577 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3223, allocations: 8 kB / 0.9577 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3223, allocations: 4.062 kB / 0.9577 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3223, allocations: 11.94 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.3225, allocations: 59.89 kB / 0.9578 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3226, allocations: 7.984 kB / 0.9578 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.466e-05/0.3227, allocations: 15.84 kB / 0.9578 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3227, allocations: 11.98 kB / 0.9578 GB, free: 0.6367 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001339/0.3228, allocations: 139.7 kB / 0.958 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3229, allocations: 15.81 kB / 0.958 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.3235, allocations: 356.8 kB / 0.9583 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3235, allocations: 8 kB / 0.9583 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3235, allocations: 3.938 kB / 0.9583 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3235, allocations: 4 kB / 0.9584 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.3238, allocations: 253.3 kB / 0.9586 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3238, allocations: 7.984 kB / 0.9586 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.324, allocations: 59.89 kB / 0.9587 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.324, allocations: 4 kB / 0.9587 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.324, allocations: 8.375 kB / 0.9587 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3241, allocations: 11.98 kB / 0.9587 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3241, allocations: 4 kB / 0.9587 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.3245, allocations: 344.9 kB / 0.959 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3246, allocations: 116.9 kB / 0.9591 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.3247, allocations: 15.98 kB / 0.9591 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.3248, allocations: 4 kB / 0.9591 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.3248, allocations: 27.91 kB / 0.9592 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3249, allocations: 11.98 kB / 0.9592 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.3249, allocations: 79.22 kB / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3249, allocations: 0 / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004069/0.3253, allocations: 99.94 kB / 0.9594 GB, free: 14.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (30): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.0005333/0.3259, allocations: 203.8 kB / 0.9595 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.3263, allocations: 267.7 kB / 0.9598 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.3263, allocations: 3.938 kB / 0.9598 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3265, allocations: 136.8 kB / 0.9599 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.3267, allocations: 18.66 kB / 0.96 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.3273, allocations: 392.6 kB / 0.9603 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3276, allocations: 0.7163 MB / 0.961 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.3277, allocations: 39.41 kB / 0.9611 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.3277, allocations: 0 / 0.9611 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of Templates: time 0.00541/0.3332, allocations: 2.884 MB / 0.9639 GB, free: 10.27 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches