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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.438 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.484/2.484, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.000372, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8236, allocations: 142.4 MB / 0.9544 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1008/0.9245, allocations: 65.13 MB / 1.018 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02841/0.953, allocations: 17.69 MB / 1.035 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.9566, allocations: 59.62 kB / 1.035 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.9596, allocations: 0.5199 MB / 1.036 GB, free: 12.04 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009602/0.9692, allocations: 2.102 MB / 1.038 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005058/0.9743, allocations: 1.085 MB / 1.039 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007378/0.9817, allocations: 4.378 MB / 1.043 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.9846, allocations: 1.022 MB / 1.044 GB, free: 3.422 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.989, allocations: 1.33 MB / 1.046 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.9919, allocations: 1.042 MB / 1.047 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000574/0.9925, allocations: 60 kB / 1.047 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.9963, allocations: 0.9082 MB / 1.048 GB, free: 72 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.997, allocations: 238.9 kB / 1.048 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.9982, allocations: 372.9 kB / 1.048 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003979/1.002, allocations: 2.295 MB / 1.05 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.002, allocations: 4 kB / 1.05 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.407e-06/1.002, allocations: 0 / 1.05 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001246/1.002, allocations: 0 / 1.05 GB, free: 13.16 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.004725/1.007, allocations: 1.715 MB / 1.052 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.007, allocations: 12.03 kB / 1.052 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/1.01, allocations: 0.4975 MB / 1.053 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/1.013, allocations: 1.47 MB / 1.054 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/1.013, allocations: 138 kB / 1.054 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/1.014, allocations: 108 kB / 1.054 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/1.017, allocations: 1.317 MB / 1.055 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/1.017, allocations: 3.938 kB / 1.055 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/1.017, allocations: 44 kB / 1.056 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/1.017, allocations: 27.95 kB / 1.056 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/1.02, allocations: 1.159 MB / 1.057 GB, free: 6.457 MB / 0.8106 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.00987/1.03, allocations: 7.174 MB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/1.033, allocations: 0.8903 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/1.033, allocations: 290 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/1.035, allocations: 1.73 MB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/1.035, allocations: 42.94 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/1.035, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.004511/1.04, allocations: 1.451 MB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/1.04, allocations: 59.78 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/1.043, allocations: 1.521 MB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.715e-05/1.043, allocations: 37.7 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/1.043, allocations: 0.6692 MB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/1.044, allocations: 177.5 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/1.044, allocations: 16 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.044, allocations: 330 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/1.045, allocations: 385.8 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/1.046, allocations: 0.6549 MB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.047, allocations: 449.9 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/1.047, allocations: 4 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003038/1.05, allocations: 1.205 MB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.05, allocations: 11.98 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.05, allocations: 8 kB / 1.073 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/1.051, allocations: 233.1 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/1.052, allocations: 199.7 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/1.053, allocations: 0.728 MB / 1.074 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.055, allocations: 262.7 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.055, allocations: 39.97 kB / 1.075 GB, free: 2.816 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.00073/1.056, allocations: 361.9 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/1.056, allocations: 150.1 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/1.059, allocations: 1.168 MB / 1.076 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.059, allocations: 15.98 kB / 1.076 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.059, allocations: 0 / 1.076 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/1.059, allocations: 0 / 1.076 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/1.064, allocations: 2.584 MB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.064, allocations: 4 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/1.065, allocations: 83.89 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007622/1.065, allocations: 232.6 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/1.065, allocations: 16 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/1.067, allocations: 0.8059 MB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.067, allocations: 8.094 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/1.07, allocations: 1.281 MB / 1.081 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007444/1.071, allocations: 374.8 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/1.071, allocations: 15.95 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.072, allocations: 107.8 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/1.072, allocations: 44.44 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/1.072, allocations: 23.98 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002119/1.074, allocations: 1.07 MB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.11e-07/1.074, allocations: 0 / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001813/1.076, allocations: 435.4 kB / 1.083 GB, free: 9.871 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/1.077, allocations: 453.8 kB / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002287/1.08, allocations: 0.868 MB / 1.085 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.08, allocations: 0 / 1.085 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/1.081, allocations: 479.5 kB / 1.085 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/1.085, allocations: 0.7051 MB / 1.086 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/1.09, allocations: 2.714 MB / 1.088 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009994/1.091, allocations: 1.168 MB / 1.09 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00158/1.093, allocations: 267.9 kB / 1.09 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/1.093, allocations: 111.4 kB / 1.09 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/1.093, allocations: 0 / 1.09 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of Templates: time 0.05479/1.148, allocations: 29.03 MB / 1.118 GB, free: 6.375 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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 & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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