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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001274/0.001274, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.158/2.158, allocations: 390.2 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5179, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06108/0.579, allocations: 70.5 MB / 1.019 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.5997, allocations: 18.91 MB / 1.037 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.6014, allocations: 75.5 kB / 1.037 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.6031, allocations: 0.8307 MB / 1.038 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.6084, allocations: 2.846 MB / 1.041 GB, free: 4.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.6113, allocations: 1.644 MB / 1.042 GB, free: 2.699 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003515/0.6148, allocations: 4.035 MB / 1.046 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.6162, allocations: 1.449 MB / 1.048 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.6188, allocations: 1.765 MB / 1.049 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.62, allocations: 1.175 MB / 1.051 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.6202, allocations: 176 kB / 1.051 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.6224, allocations: 1.416 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.6227, allocations: 386.6 kB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007081/0.6234, allocations: 0.9216 MB / 1.053 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.6262, allocations: 3.07 MB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6262, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6262, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.6262, allocations: 3.938 kB / 1.056 GB, free: 4.242 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.002747/0.629, allocations: 2.027 MB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.629, allocations: 8.031 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.6292, allocations: 156.6 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.6312, allocations: 445.7 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.6332, allocations: 1.481 MB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.6336, allocations: 134 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6337, allocations: 108 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.6359, allocations: 1.317 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.6359, allocations: 11.88 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.636, allocations: 47.94 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.636, allocations: 24 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.6385, allocations: 1.105 MB / 1.063 GB, free: 13.16 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.007081/0.6456, allocations: 7.556 MB / 1.07 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.6485, allocations: 0.8106 MB / 1.071 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.6491, allocations: 278 kB / 1.071 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.6502, allocations: 1.722 MB / 1.073 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.6502, allocations: 42.98 kB / 1.073 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 1.552e-06/0.6502, allocations: 0 / 1.073 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.004317/0.6545, allocations: 1.338 MB / 1.074 GB, free: 476 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.6546, allocations: 55.84 kB / 1.075 GB, free: 408 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.6565, allocations: 1.549 MB / 1.076 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.6566, allocations: 37.7 kB / 1.076 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.6571, allocations: 0.6806 MB / 1.077 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6572, allocations: 169.6 kB / 1.077 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.6575, allocations: 170.5 kB / 1.077 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6576, allocations: 337.9 kB / 1.077 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/0.6585, allocations: 373.7 kB / 1.078 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.6596, allocations: 0.6585 MB / 1.078 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.6613, allocations: 0.8945 MB / 1.079 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6613, allocations: 0 / 1.079 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002634/0.664, allocations: 1.201 MB / 1.08 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.664, allocations: 9.875 kB / 1.08 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.664, allocations: 8 kB / 1.08 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007451/0.6648, allocations: 220.7 kB / 1.081 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.6655, allocations: 199.7 kB / 1.081 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007644/0.6662, allocations: 0.7278 MB / 1.082 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.6675, allocations: 218.7 kB / 1.082 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.6676, allocations: 39.98 kB / 1.082 GB, free: 8.625 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.0004104/0.668, allocations: 361.7 kB / 1.082 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.6682, allocations: 150.1 kB / 1.082 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.6704, allocations: 1.145 MB / 1.083 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.6704, allocations: 8 kB / 1.083 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6704, allocations: 0 / 1.083 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6704, allocations: 3.984 kB / 1.083 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.675, allocations: 2.51 MB / 1.086 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.675, allocations: 4 kB / 1.086 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.6753, allocations: 83.88 kB / 1.086 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006424/0.676, allocations: 216.8 kB / 1.086 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.676, allocations: 15.98 kB / 1.086 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.6772, allocations: 0.7747 MB / 1.087 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6772, allocations: 0 / 1.087 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.6803, allocations: 1.207 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.6807, allocations: 343 kB / 1.088 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.6809, allocations: 23.89 kB / 1.088 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.6817, allocations: 71.92 kB / 1.089 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.6818, allocations: 40.44 kB / 1.089 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.6818, allocations: 27.98 kB / 1.089 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001462/0.6833, allocations: 1.098 MB / 1.09 GB, free: 380 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6833, allocations: 3.938 kB / 1.09 GB, free: 376 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001004/0.6843, allocations: 443.4 kB / 1.09 GB, free: 15.93 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.003969/0.6883, allocations: 2.11 MB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.6904, allocations: 0.8879 MB / 1.093 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6904, allocations: 8 kB / 1.093 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.6916, allocations: 443.2 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.6942, allocations: 0.7407 MB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.7096, allocations: 11.41 MB / 1.105 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.7102, allocations: 1.168 MB / 1.106 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008526/0.7111, allocations: 271.2 kB / 1.107 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006448/0.7117, allocations: 0.5461 MB / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.7118, allocations: 0 / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.012/1.724, allocations: 43.42 MB / 1.15 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/13.11, allocations: 9.109 kB / 1.15 GB, free: 2.789 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