Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 184.2 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.761/1.761, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000992/0.0009921, allocations: 79.97 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.574e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.647, allocations: 434.8 MB / 1.637 GB, free: 12.48 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.647, allocations: 90.89 kB / 1.637 GB, free: 12.44 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.477/6.125, allocations: 1.063 GB / 2.7 GB, free: 250 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.906e-06/6.125, allocations: 7.344 kB / 2.7 GB, free: 250 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000153/6.125, allocations: 31.55 kB / 2.7 GB, free: 250 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003672/6.128, allocations: 1.486 MB / 2.702 GB, free: 249.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/6.129, allocations: 13.94 kB / 2.702 GB, free: 249.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/6.13, allocations: 349.5 kB / 2.702 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/6.134, allocations: 1.258 MB / 2.703 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/6.134, allocations: 101.8 kB / 2.703 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/6.134, allocations: 51.62 kB / 2.703 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/6.136, allocations: 0.6004 MB / 2.704 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/6.138, allocations: 0.7472 MB / 2.705 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/6.138, allocations: 0 / 2.705 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/6.138, allocations: 7.797 kB / 2.705 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/6.138, allocations: 32.12 kB / 2.705 GB, free: 248.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008208/6.146, allocations: 4.453 MB / 2.709 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/6.147, allocations: 420 kB / 2.71 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/6.147, allocations: 183.2 kB / 2.71 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/6.149, allocations: 1.364 MB / 2.711 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/6.149, allocations: 38.59 kB / 2.711 GB, free: 244.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 3.727e-06/6.149, allocations: 2.812 kB / 2.711 GB, free: 244.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.008644/6.157, allocations: 1.315 MB / 2.712 GB, free: 244.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/6.158, allocations: 57.69 kB / 2.712 GB, free: 244.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/6.16, allocations: 0.7439 MB / 2.713 GB, free: 244.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/6.161, allocations: 25.7 kB / 2.713 GB, free: 244.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/6.161, allocations: 0.5419 MB / 2.714 GB, free: 244.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/6.162, allocations: 140.2 kB / 2.714 GB, free: 244.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/6.162, allocations: 0 / 2.714 GB, free: 244.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001031/6.162, allocations: 328.6 kB / 2.714 GB, free: 244 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/6.162, allocations: 159.3 kB / 2.714 GB, free: 244 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/6.163, allocations: 401.4 kB / 2.715 GB, free: 243.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/6.168, allocations: 0.8175 MB / 2.716 GB, free: 243.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/6.168, allocations: 3.469 kB / 2.716 GB, free: 243.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.007051/6.175, allocations: 1.479 MB / 2.717 GB, free: 243.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007319/6.175, allocations: 1.577 MB / 2.719 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/6.176, allocations: 3.844 kB / 2.719 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007902/6.176, allocations: 225.2 kB / 2.719 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/6.177, allocations: 110.6 kB / 2.719 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/6.178, allocations: 0.8692 MB / 2.72 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/6.18, allocations: 156.1 kB / 2.72 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/6.18, allocations: 32.66 kB / 2.72 GB, free: 241.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/6.18, allocations: 6.438 kB / 2.72 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005977/6.186, allocations: 1.34 MB / 2.721 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/6.186, allocations: 9.5 kB / 2.721 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/6.186, allocations: 233.8 kB / 2.721 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/6.187, allocations: 110 kB / 2.722 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/6.188, allocations: 0.8599 MB / 2.722 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/6.189, allocations: 133.4 kB / 2.723 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/6.19, allocations: 27.72 kB / 2.723 GB, free: 240.8 MB / 1.151 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 () * 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 (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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003177/6.19, allocations: 115.9 kB / 2.723 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/6.19, allocations: 105.8 kB / 2.723 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006581/6.197, allocations: 1.489 MB / 2.724 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/6.197, allocations: 9.719 kB / 2.724 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/6.197, allocations: 0 / 2.724 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/6.197, allocations: 2.719 kB / 2.724 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008108/6.205, allocations: 2.4 MB / 2.727 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/6.205, allocations: 3.875 kB / 2.727 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/6.205, allocations: 59.62 kB / 2.727 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000645/6.206, allocations: 240.2 kB / 2.727 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/6.206, allocations: 6.906 kB / 2.727 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009959/6.207, allocations: 0.8941 MB / 2.728 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/6.207, allocations: 9.156 kB / 2.728 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006222/6.213, allocations: 1.64 MB / 2.729 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/6.214, allocations: 262.6 kB / 2.73 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004735/6.215, allocations: 3.938 kB / 2.73 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/6.216, allocations: 92.64 kB / 2.73 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/6.216, allocations: 38.75 kB / 2.73 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/6.216, allocations: 24.25 kB / 2.73 GB, free: 239.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001263/6.217, allocations: 0.5678 MB / 2.73 GB, free: 239 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.217, allocations: 0 / 2.73 GB, free: 239 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002997/6.22, allocations: 0.6261 MB / 2.731 GB, free: 239 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/6.222, allocations: 0.6908 MB / 2.732 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001854/6.224, allocations: 0.7564 MB / 2.732 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/6.224, allocations: 0 / 2.732 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004904/6.225, allocations: 256 kB / 2.733 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/6.227, allocations: 386.5 kB / 2.733 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/6.232, allocations: 1.285 MB / 2.734 GB, free: 238.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/6.232, allocations: 1.083 MB / 2.735 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002153/6.235, allocations: 235.3 kB / 2.735 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/6.235, allocations: 56.17 kB / 2.736 GB, free: 237.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/6.235, allocations: 0 / 2.736 GB, free: 237.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05566/6.291, allocations: 23.25 MB / 2.758 GB, free: 236.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches