Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 92.16 kB / 16.02 MB, free: 80 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.001269/0.001269, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8119, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.928/1.74, allocations: 250.2 MB / 1.268 GB, free: 17.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01627/1.756, allocations: 9.611 MB / 1.277 GB, free: 16.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/1.76, allocations: 68.56 kB / 1.278 GB, free: 16.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003081/1.763, allocations: 0.8174 MB / 1.278 GB, free: 16.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008941/1.772, allocations: 2.482 MB / 1.281 GB, free: 16.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007218/1.779, allocations: 1.931 MB / 1.283 GB, free: 16.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007932/1.787, allocations: 5.439 MB / 1.288 GB, free: 16.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/1.79, allocations: 1.286 MB / 1.289 GB, free: 16.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/1.794, allocations: 1.666 MB / 1.291 GB, free: 16.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003142/1.797, allocations: 1.228 MB / 1.292 GB, free: 16.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003208/1.798, allocations: 61.47 kB / 1.292 GB, free: 16.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006972/1.805, allocations: 3.489 MB / 1.295 GB, free: 16.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00087/1.806, allocations: 487.2 kB / 1.296 GB, free: 16.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001717/1.807, allocations: 0.9033 MB / 1.297 GB, free: 16.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004116/1.811, allocations: 2.668 MB / 1.299 GB, free: 16.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.811, allocations: 4 kB / 1.299 GB, free: 16.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/1.811, allocations: 0 / 1.299 GB, free: 16.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.512e-05/1.812, allocations: 0 / 1.299 GB, free: 16.17 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003968/1.815, allocations: 2.131 MB / 1.302 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.816, allocations: 8.25 kB / 1.302 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/1.819, allocations: 0.6525 MB / 1.302 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/1.822, allocations: 1.379 MB / 1.304 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/1.822, allocations: 155.5 kB / 1.304 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/1.822, allocations: 129.8 kB / 1.304 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.825, allocations: 1.444 MB / 1.305 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/1.825, allocations: 0 / 1.305 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/1.825, allocations: 51.44 kB / 1.305 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/1.825, allocations: 40.25 kB / 1.305 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/1.828, allocations: 1.224 MB / 1.306 GB, free: 14.12 MB / 0.9825 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.007783/1.836, allocations: 5.722 MB / 1.312 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/1.837, allocations: 1.046 MB / 1.313 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009792/1.838, allocations: 0.5498 MB / 1.314 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/1.839, allocations: 328.8 kB / 1.314 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/1.84, allocations: 0.5751 MB / 1.314 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.845e-06/1.84, allocations: 0 / 1.314 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92): time 0.008367/1.849, allocations: 3.597 MB / 1.318 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.849, allocations: 94.95 kB / 1.318 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.85, allocations: 1.343 MB / 1.319 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/1.851, allocations: 44.05 kB / 1.319 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/1.851, allocations: 0.7289 MB / 1.32 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/1.851, allocations: 318.7 kB / 1.32 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.851, allocations: 89.56 kB / 1.321 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/1.852, allocations: 347.8 kB / 1.321 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/1.853, allocations: 464.7 kB / 1.321 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.854, allocations: 0.6666 MB / 1.322 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/1.867, allocations: 3.622 MB / 1.326 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.867, allocations: 0 / 1.326 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003285/1.87, allocations: 1.55 MB / 1.327 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.871, allocations: 244.8 kB / 1.327 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.871, allocations: 7.828 kB / 1.327 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/1.871, allocations: 227.9 kB / 1.327 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/1.872, allocations: 206.8 kB / 1.328 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/1.876, allocations: 4.291 MB / 1.332 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.877, allocations: 143.4 kB / 1.332 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/1.878, allocations: 39.47 kB / 1.332 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/1.878, allocations: 4.344 kB / 1.332 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003075/1.881, allocations: 1.373 MB / 1.333 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.881, allocations: 5.625 kB / 1.333 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/1.881, allocations: 198.8 kB / 1.334 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/1.882, allocations: 210.3 kB / 1.334 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/1.886, allocations: 5.307 MB / 1.339 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.888, allocations: 137.8 kB / 1.339 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.888, allocations: 40.39 kB / 1.339 GB, free: 204 kB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001122/1.889, allocations: 0.5193 MB / 1.34 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/1.89, allocations: 167.2 kB / 1.34 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/1.893, allocations: 1.307 MB / 1.341 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.893, allocations: 9.312 kB / 1.341 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.893, allocations: 0 / 1.341 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002389/1.896, allocations: 1.182 MB / 1.342 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006435/1.902, allocations: 3.075 MB / 1.345 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.902, allocations: 5.719 kB / 1.345 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/1.903, allocations: 190.2 kB / 1.345 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/1.903, allocations: 48.23 kB / 1.345 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/1.903, allocations: 35.14 kB / 1.346 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00044/1.904, allocations: 0.5826 MB / 1.346 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.904, allocations: 11 kB / 1.346 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/1.908, allocations: 2.019 MB / 1.348 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/1.909, allocations: 341.2 kB / 1.348 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004396/1.909, allocations: 29.98 kB / 1.348 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.911, allocations: 118.7 kB / 1.349 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.911, allocations: 69.39 kB / 1.349 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.64e-05/1.911, allocations: 35.7 kB / 1.349 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001786/1.913, allocations: 0.9196 MB / 1.35 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.913, allocations: 0 / 1.35 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003006/1.916, allocations: 0.6872 MB / 1.35 GB, free: 9.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008985/1.917, allocations: 305 kB / 1.35 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005228/1.922, allocations: 2.562 MB / 1.353 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.922, allocations: 0 / 1.353 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.923, allocations: 0.6227 MB / 1.354 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/1.929, allocations: 0.8269 MB / 1.354 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00841/1.938, allocations: 3.993 MB / 1.358 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.939, allocations: 1.34 MB / 1.36 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/1.94, allocations: 122.7 kB / 1.36 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.94, allocations: 0 / 1.36 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of Templates: time 0.06233/2.002, allocations: 39.99 MB / 1.399 GB, free: 12.87 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches