Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 108.4 kB / 16.41 MB, free: 6.453 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.001977/0.001978, allocations: 181.7 kB / 17.34 MB, free: 5.742 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.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.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7144, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2351/0.9495, allocations: 211.1 MB / 1.295 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.9661, allocations: 10.63 MB / 1.305 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.9686, allocations: 59.62 kB / 1.305 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.9716, allocations: 0.8578 MB / 1.306 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007615/0.9793, allocations: 2.578 MB / 1.309 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00662/0.9859, allocations: 2.311 MB / 1.311 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005396/0.9913, allocations: 3.703 MB / 1.314 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.9937, allocations: 1.334 MB / 1.316 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.9983, allocations: 1.995 MB / 1.318 GB, free: 2.902 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/1, allocations: 1.15 MB / 1.319 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005695/1.001, allocations: 152 kB / 1.319 GB, free: 1.602 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/1.007, allocations: 3.092 MB / 1.322 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007826/1.008, allocations: 466.3 kB / 1.322 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001702/1.009, allocations: 0.9017 MB / 1.323 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006375/1.016, allocations: 3.331 MB / 1.327 GB, free: 9.801 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.016, allocations: 0 / 1.327 GB, free: 9.801 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.757e-06/1.016, allocations: 4 kB / 1.327 GB, free: 9.797 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.146e-05/1.016, allocations: 3.938 kB / 1.327 GB, free: 9.793 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006516/1.023, allocations: 2.345 MB / 1.329 GB, free: 7.387 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.023, allocations: 8.031 kB / 1.329 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/1.026, allocations: 0.5325 MB / 1.329 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/1.029, allocations: 1.316 MB / 1.331 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/1.029, allocations: 82 kB / 1.331 GB, free: 5.395 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/1.03, allocations: 119.9 kB / 1.331 GB, free: 5.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/1.033, allocations: 1.318 MB / 1.332 GB, free: 3.926 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.033, allocations: 0 / 1.332 GB, free: 3.926 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.033, allocations: 40 kB / 1.332 GB, free: 3.887 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/1.033, allocations: 49.92 kB / 1.332 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/1.036, allocations: 1.327 MB / 1.334 GB, free: 2.508 MB / 1.061 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.009415/1.046, allocations: 5.263 MB / 1.339 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/1.048, allocations: 1.004 MB / 1.34 GB, free: 11.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/1.05, allocations: 0.5385 MB / 1.34 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.051, allocations: 0.7513 MB / 1.341 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/1.052, allocations: 0.6093 MB / 1.342 GB, free: 9.852 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 4.227e-06/1.052, allocations: 3.938 kB / 1.342 GB, free: 9.848 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.004567/1.057, allocations: 1.57 MB / 1.343 GB, free: 8.273 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.057, allocations: 64 kB / 1.343 GB, free: 8.199 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.059, allocations: 1.325 MB / 1.344 GB, free: 6.863 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/1.059, allocations: 49.7 kB / 1.344 GB, free: 6.809 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/1.06, allocations: 0.6387 MB / 1.345 GB, free: 6.164 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/1.06, allocations: 283.9 kB / 1.345 GB, free: 5.883 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/1.061, allocations: 234.7 kB / 1.346 GB, free: 5.648 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.061, allocations: 345.9 kB / 1.346 GB, free: 5.305 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.062, allocations: 0.4978 MB / 1.346 GB, free: 4.805 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/1.064, allocations: 0.7631 MB / 1.347 GB, free: 3.953 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/1.066, allocations: 1.155 MB / 1.348 GB, free: 2.727 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.066, allocations: 4 kB / 1.348 GB, free: 2.723 MB / 1.076 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00371/1.07, allocations: 1.446 MB / 1.35 GB, free: 1.262 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/1.07, allocations: 37.69 kB / 1.35 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.07, allocations: 4 kB / 1.35 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/1.07, allocations: 20.12 kB / 1.35 GB, free: 1.195 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.072, allocations: 331.5 kB / 1.35 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/1.073, allocations: 1.188 MB / 1.351 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.075, allocations: 194.7 kB / 1.351 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.075, allocations: 51.97 kB / 1.351 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001806/1.076, allocations: 0.7445 MB / 1.352 GB, free: 14.65 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001619/1.078, allocations: 0.7564 MB / 1.353 GB, free: 13.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002688/1.081, allocations: 1.151 MB / 1.354 GB, free: 12.58 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/1.081, allocations: 4 kB / 1.354 GB, free: 12.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003629/1.084, allocations: 1.438 MB / 1.355 GB, free: 11.12 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/1.085, allocations: 37.69 kB / 1.355 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.085, allocations: 8 kB / 1.355 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.085, allocations: 8 kB / 1.355 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.086, allocations: 299.8 kB / 1.356 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/1.086, allocations: 19.92 kB / 1.356 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.088, allocations: 163.1 kB / 1.356 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.088, allocations: 55.91 kB / 1.356 GB, free: 10.54 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003512/1.088, allocations: 251.9 kB / 1.356 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.089, allocations: 158.1 kB / 1.356 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/1.092, allocations: 1.309 MB / 1.358 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.092, allocations: 3.984 kB / 1.358 GB, free: 8.812 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.092, allocations: 0 / 1.358 GB, free: 8.812 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007466/1.093, allocations: 362.7 kB / 1.358 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/1.093, allocations: 16 kB / 1.358 GB, free: 8.422 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.094, allocations: 87.91 kB / 1.358 GB, free: 8.336 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.094, allocations: 64.91 kB / 1.358 GB, free: 8.273 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003786/1.098, allocations: 1.303 MB / 1.359 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004408/1.103, allocations: 1.99 MB / 1.361 GB, free: 4.941 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00128/1.104, allocations: 0.5466 MB / 1.362 GB, free: 4.395 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001384/1.105, allocations: 0.8899 MB / 1.363 GB, free: 3.508 MB / 1.092 GB Notification: Performance of Backend: time 6.01e-07/1.105, allocations: 0 / 1.363 GB, free: 3.508 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00666/1.112, allocations: 2.289 MB / 1.365 GB, free: 1.203 MB / 1.092 GB Notification: Performance of SimCode: time 0.005647/1.118, allocations: 3.158 MB / 1.368 GB, free: 14 MB / 1.107 GB Notification: Performance of Templates: time 0.06188/1.18, allocations: 40.57 MB / 1.408 GB, free: 5.773 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches