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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001429/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001651/0.001651, allocations: 196.8 kB / 16.14 MB, free: 6.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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5267, allocations: 140.4 MB / 0.949 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05881/0.5856, allocations: 70.11 MB / 1.017 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.6078, allocations: 19 MB / 1.036 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.6098, allocations: 59.62 kB / 1.036 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.612, allocations: 0.6643 MB / 1.037 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006121/0.6181, allocations: 2.598 MB / 1.039 GB, free: 5.422 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.6214, allocations: 1.487 MB / 1.041 GB, free: 3.941 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004999/0.6264, allocations: 5.015 MB / 1.046 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.6279, allocations: 1.187 MB / 1.047 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.6304, allocations: 1.493 MB / 1.048 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.6317, allocations: 1.159 MB / 1.049 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.6319, allocations: 80 kB / 1.049 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.6342, allocations: 1.236 MB / 1.051 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.6345, allocations: 298.6 kB / 1.051 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.6353, allocations: 0.8122 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.6382, allocations: 3.027 MB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6383, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6383, allocations: 4 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.6383, allocations: 0 / 1.055 GB, free: 5.57 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.003142/0.6414, allocations: 2.03 MB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6415, allocations: 12.03 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.6417, allocations: 156.6 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.6439, allocations: 441.7 kB / 1.057 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.6462, allocations: 1.5 MB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.6465, allocations: 146 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.6467, allocations: 100 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.6492, allocations: 1.293 MB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6492, allocations: 3.938 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.6493, allocations: 47.94 kB / 1.06 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.6493, allocations: 24 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.652, allocations: 1.109 MB / 1.061 GB, free: 14.5 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.007701/0.6597, allocations: 7.137 MB / 1.068 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/0.6628, allocations: 0.8056 MB / 1.069 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.6634, allocations: 289.9 kB / 1.069 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.6646, allocations: 1.722 MB / 1.071 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.6646, allocations: 35 kB / 1.071 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.6646, allocations: 7.938 kB / 1.071 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.004583/0.6692, allocations: 1.323 MB / 1.072 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.6693, allocations: 55.84 kB / 1.073 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.6715, allocations: 1.533 MB / 1.074 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.6716, allocations: 37.7 kB / 1.074 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.6721, allocations: 0.6654 MB / 1.075 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6723, allocations: 165.6 kB / 1.075 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.6725, allocations: 166.5 kB / 1.075 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6727, allocations: 337.9 kB / 1.075 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009863/0.6737, allocations: 361.8 kB / 1.076 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.6749, allocations: 0.6315 MB / 1.076 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.6766, allocations: 0.8523 MB / 1.077 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6766, allocations: 0 / 1.077 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004274/0.6809, allocations: 1.337 MB / 1.078 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6809, allocations: 12.03 kB / 1.078 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.681, allocations: 8 kB / 1.078 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.6818, allocations: 216.6 kB / 1.079 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.6825, allocations: 183.7 kB / 1.079 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008442/0.6834, allocations: 0.7123 MB / 1.08 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.6849, allocations: 246.7 kB / 1.08 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/0.685, allocations: 43.92 kB / 1.08 GB, free: 10.42 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0004982/0.6855, allocations: 349.6 kB / 1.08 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.6858, allocations: 154.1 kB / 1.08 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.6881, allocations: 1.133 MB / 1.081 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.6882, allocations: 11.98 kB / 1.081 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6882, allocations: 0 / 1.081 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6882, allocations: 4.078 kB / 1.081 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/0.6932, allocations: 2.522 MB / 1.084 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6932, allocations: 0 / 1.084 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.6936, allocations: 87.81 kB / 1.084 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007321/0.6943, allocations: 216.8 kB / 1.084 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.6944, allocations: 15.98 kB / 1.084 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.6956, allocations: 0.7631 MB / 1.085 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6956, allocations: 4.062 kB / 1.085 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/0.6989, allocations: 1.207 MB / 1.086 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.6994, allocations: 343 kB / 1.086 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.6996, allocations: 12 kB / 1.086 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/0.7006, allocations: 99.67 kB / 1.087 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.7007, allocations: 40.45 kB / 1.087 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.7008, allocations: 27.98 kB / 1.087 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001669/0.7024, allocations: 1.078 MB / 1.088 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7025, allocations: 0 / 1.088 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001179/0.7036, allocations: 435.4 kB / 1.088 GB, free: 1.754 MB / 0.8419 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.004393/0.708, allocations: 2.109 MB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.7101, allocations: 0.8289 MB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.7101, allocations: 352 / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.7114, allocations: 455.1 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.7144, allocations: 0.6923 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/0.7406, allocations: 11.66 MB / 1.103 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.7414, allocations: 1.168 MB / 1.105 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001147/0.7426, allocations: 260 kB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007609/0.7434, allocations: 0.5461 MB / 1.105 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/0.7434, allocations: 0 / 1.105 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1697/0.9131, allocations: 41.7 MB / 1.146 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.9134, allocations: 286.9 kB / 1.146 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.521, allocations: 6.891 kB / 1.146 GB, free: 5.828 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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