Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001618/0.001618, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.94 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.245, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03084/0.2759, allocations: 35.7 MB / 1.087 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009702/0.2856, allocations: 8.139 MB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00085/0.2865, allocations: 27.81 kB / 1.095 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009456/0.2875, allocations: 354.1 kB / 1.095 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.2902, allocations: 1.271 MB / 1.097 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.2925, allocations: 1.012 MB / 1.098 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.2948, allocations: 2.821 MB / 1.1 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.2955, allocations: 0.5992 MB / 1.101 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.2966, allocations: 0.7701 MB / 1.102 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006361/0.2973, allocations: 0.6184 MB / 1.102 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.2974, allocations: 40 kB / 1.102 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.2987, allocations: 0.7448 MB / 1.103 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.2989, allocations: 175.3 kB / 1.103 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.2992, allocations: 445.8 kB / 1.104 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.3007, allocations: 1.484 MB / 1.105 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3007, allocations: 0 / 1.105 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.11e-07/0.3007, allocations: 0 / 1.105 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3007, allocations: 0 / 1.105 GB, free: 1.898 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00168/0.3024, allocations: 1.225 MB / 1.106 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3024, allocations: 8.031 kB / 1.106 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.3025, allocations: 98.7 kB / 1.106 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.3049, allocations: 299.6 kB / 1.107 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.306, allocations: 0.7568 MB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.306, allocations: 45.31 kB / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.3061, allocations: 60 kB / 1.108 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.3078, allocations: 0.7953 MB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3078, allocations: 3.984 kB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.3079, allocations: 24 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.3079, allocations: 24 kB / 1.108 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.3098, allocations: 0.61 MB / 1.109 GB, free: 13.8 MB / 0.8731 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.004136/0.314, allocations: 3.927 MB / 1.113 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.3157, allocations: 459.7 kB / 1.113 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007695/0.3165, allocations: 208.7 kB / 1.113 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005615/0.3171, allocations: 0.5259 MB / 1.114 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3171, allocations: 30.56 kB / 1.114 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/0.3171, allocations: 3.938 kB / 1.114 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.002854/0.32, allocations: 0.7892 MB / 1.115 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.32, allocations: 102.8 kB / 1.115 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.3207, allocations: 0.5859 MB / 1.115 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.3207, allocations: 33.7 kB / 1.115 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.321, allocations: 383.7 kB / 1.116 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.3211, allocations: 98.62 kB / 1.116 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3212, allocations: 102 kB / 1.116 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3213, allocations: 370.7 kB / 1.116 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/0.3221, allocations: 204.7 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009003/0.323, allocations: 355.3 kB / 1.117 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.3247, allocations: 0.525 MB / 1.117 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3247, allocations: 4 kB / 1.117 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001936/0.3267, allocations: 0.6513 MB / 1.118 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3267, allocations: 8 kB / 1.118 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3267, allocations: 4 kB / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.3269, allocations: 60.81 kB / 1.118 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.3276, allocations: 140.2 kB / 1.118 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004036/0.328, allocations: 0.6187 MB / 1.119 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000816/0.3289, allocations: 107.5 kB / 1.119 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.3289, allocations: 27.98 kB / 1.119 GB, free: 2.855 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.3292, allocations: 221.7 kB / 1.119 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.3294, allocations: 67.19 kB / 1.119 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.3314, allocations: 0.619 MB / 1.12 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.3314, allocations: 4 kB / 1.12 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3314, allocations: 0 / 1.12 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001733/0.3332, allocations: 0.6991 MB / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.3357, allocations: 1.29 MB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3357, allocations: 160 / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.3363, allocations: 83.89 kB / 1.122 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.3365, allocations: 52.83 kB / 1.122 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3365, allocations: 19.91 kB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003654/0.3369, allocations: 0.6147 MB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3369, allocations: 4.031 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.3395, allocations: 0.886 MB / 1.123 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.3398, allocations: 212 kB / 1.124 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.3399, allocations: 8 kB / 1.124 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/0.3408, allocations: 84.03 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.3408, allocations: 23.91 kB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.3409, allocations: 23.97 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005325/0.3414, allocations: 491 kB / 1.124 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3415, allocations: 0 / 1.124 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007679/0.3422, allocations: 275.5 kB / 1.124 GB, free: 12.96 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003372/0.3456, allocations: 1.622 MB / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.3474, allocations: 499 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3474, allocations: 0 / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.3483, allocations: 239.9 kB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.35, allocations: 392.2 kB / 1.127 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.3604, allocations: 6.165 MB / 1.133 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3608, allocations: 0.9217 MB / 1.134 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000674/0.3615, allocations: 152.3 kB / 1.134 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.3618, allocations: 275.3 kB / 1.134 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.3618, allocations: 0 / 1.134 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6549/1.017, allocations: 21.41 MB / 1.155 GB, free: 13.43 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/1.017, allocations: 295.5 kB / 1.156 GB, free: 13.05 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.297, allocations: 0 / 1.156 GB, free: 13.05 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches