Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001311/0.001311, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.357/2.357, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 59.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5542, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06385/0.6181, allocations: 70.5 MB / 1.019 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0226/0.6407, allocations: 18.92 MB / 1.037 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.643, allocations: 67.56 kB / 1.037 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.6453, allocations: 0.8306 MB / 1.038 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007357/0.6527, allocations: 2.846 MB / 1.041 GB, free: 4.371 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.6565, allocations: 1.647 MB / 1.042 GB, free: 2.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004659/0.6611, allocations: 4.039 MB / 1.046 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.6631, allocations: 1.445 MB / 1.048 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.6666, allocations: 1.762 MB / 1.049 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.6684, allocations: 1.182 MB / 1.051 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003445/0.6687, allocations: 176 kB / 1.051 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.6715, allocations: 1.412 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.6719, allocations: 394.6 kB / 1.052 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.673, allocations: 0.9176 MB / 1.053 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.6768, allocations: 3.066 MB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6768, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6769, allocations: 4 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.83e-05/0.6769, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003577/0.6805, allocations: 2.03 MB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6805, allocations: 8.031 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.6807, allocations: 160.6 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.683, allocations: 441.7 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.6855, allocations: 1.485 MB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/0.6859, allocations: 138 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6861, allocations: 104 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.6885, allocations: 1.317 MB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.6886, allocations: 3.938 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.6887, allocations: 55.88 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.6887, allocations: 28 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.6915, allocations: 1.105 MB / 1.063 GB, free: 13.17 MB / 0.8262 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.008117/0.6996, allocations: 7.544 MB / 1.07 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.7028, allocations: 0.8134 MB / 1.071 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006193/0.7035, allocations: 278 kB / 1.071 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.7046, allocations: 1.722 MB / 1.073 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.7047, allocations: 35 kB / 1.073 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.7047, allocations: 0 / 1.073 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.004792/0.7095, allocations: 1.346 MB / 1.075 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.7095, allocations: 55.84 kB / 1.075 GB, free: 436 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.7118, allocations: 1.542 MB / 1.076 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.7119, allocations: 41.7 kB / 1.076 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.7124, allocations: 0.6806 MB / 1.077 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.7126, allocations: 165.6 kB / 1.077 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.7129, allocations: 178.4 kB / 1.077 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.713, allocations: 337.9 kB / 1.077 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.714, allocations: 369.8 kB / 1.078 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.7153, allocations: 0.6623 MB / 1.078 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.7171, allocations: 0.8867 MB / 1.079 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7171, allocations: 0 / 1.079 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003108/0.7203, allocations: 1.209 MB / 1.08 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7203, allocations: 11.94 kB / 1.08 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.7203, allocations: 8 kB / 1.08 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009141/0.7212, allocations: 216.7 kB / 1.081 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.722, allocations: 195.7 kB / 1.081 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/0.7229, allocations: 0.7278 MB / 1.082 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.7244, allocations: 222.7 kB / 1.082 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/0.7245, allocations: 43.98 kB / 1.082 GB, free: 8.648 MB / 0.8419 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004879/0.725, allocations: 353.6 kB / 1.082 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.7253, allocations: 150.1 kB / 1.082 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.7277, allocations: 1.14 MB / 1.083 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.7277, allocations: 11.98 kB / 1.083 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7277, allocations: 0 / 1.083 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.7277, allocations: 3.984 kB / 1.083 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/0.7328, allocations: 2.514 MB / 1.086 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.7328, allocations: 4 kB / 1.086 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.7332, allocations: 79.89 kB / 1.086 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007272/0.7339, allocations: 224.7 kB / 1.086 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.734, allocations: 15.98 kB / 1.086 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.7353, allocations: 0.7748 MB / 1.087 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7353, allocations: 96 / 1.087 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.7387, allocations: 1.218 MB / 1.088 GB, free: 2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.7392, allocations: 343 kB / 1.088 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.7395, allocations: 15.91 kB / 1.089 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/0.7404, allocations: 75.91 kB / 1.089 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.7405, allocations: 40.44 kB / 1.089 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.7406, allocations: 31.98 kB / 1.089 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001718/0.7423, allocations: 1.09 MB / 1.09 GB, free: 404 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.593e-06/0.7423, allocations: 4 kB / 1.09 GB, free: 400 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00124/0.7436, allocations: 451.4 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004562/0.7481, allocations: 2.097 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002457/0.7506, allocations: 0.8876 MB / 1.093 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7506, allocations: 320 / 1.093 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.752, allocations: 451.1 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.7553, allocations: 0.7413 MB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.773, allocations: 11.41 MB / 1.105 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.7737, allocations: 1.168 MB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001084/0.7748, allocations: 271.2 kB / 1.107 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007154/0.7755, allocations: 0.55 MB / 1.107 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of SimCode: time 1.884e-06/0.7756, allocations: 0 / 1.107 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07834/0.8539, allocations: 43.42 MB / 1.15 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.42, allocations: 7.875 kB / 1.15 GB, free: 2.82 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches