Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001767/0.001768, allocations: 193.1 kB / 17.31 MB, free: 5.816 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: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 442.5 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 65.38 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2797, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.6389/0.9186, allocations: 104.1 MB / 1.128 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.06437/0.983, allocations: 34.94 MB / 1.163 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01122/0.9943, allocations: 156.3 kB / 1.163 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.03598/1.03, allocations: 18.54 MB / 1.181 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.02068/1.051, allocations: 5.282 MB / 1.186 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01289/1.064, allocations: 4.018 MB / 1.19 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.04713/1.111, allocations: 31.07 MB / 1.22 GB, free: 7.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006806/1.118, allocations: 3.559 MB / 1.224 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/1.129, allocations: 4.123 MB / 1.228 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0077/1.136, allocations: 3.262 MB / 1.231 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001917/1.138, allocations: 432 kB / 1.231 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008869/1.147, allocations: 2.898 MB / 1.234 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002771/1.15, allocations: 1.826 MB / 1.236 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00577/1.156, allocations: 2.95 MB / 1.239 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01559/1.171, allocations: 8.602 MB / 1.247 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.172, allocations: 0 / 1.247 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.555e-06/1.172, allocations: 0 / 1.247 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002582/1.172, allocations: 0 / 1.247 GB, free: 11.82 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01514/1.187, allocations: 6.183 MB / 1.253 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.187, allocations: 12.03 kB / 1.253 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/1.198, allocations: 1.897 MB / 1.255 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/1.216, allocations: 7.057 MB / 1.262 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/1.217, allocations: 180.2 kB / 1.262 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/1.218, allocations: 248 kB / 1.262 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006693/1.224, allocations: 3.227 MB / 1.266 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/1.224, allocations: 3.938 kB / 1.266 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/1.225, allocations: 91.98 kB / 1.266 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/1.225, allocations: 55.94 kB / 1.266 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00619/1.231, allocations: 2.6 MB / 1.268 GB, free: 5.918 MB / 0.9669 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.02561/1.257, allocations: 14.81 MB / 1.283 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005477/1.262, allocations: 2.285 MB / 1.285 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/1.265, allocations: 0.9958 MB / 1.286 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/1.277, allocations: 4.957 MB / 1.291 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/1.277, allocations: 47.56 kB / 1.291 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=112): time 3.527e-06/1.277, allocations: 0 / 1.291 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.01237/1.289, allocations: 3.945 MB / 1.295 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.29, allocations: 72.33 kB / 1.295 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/1.302, allocations: 5.42 MB / 1.3 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008187/1.303, allocations: 57.7 kB / 1.3 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003006/1.306, allocations: 2.227 MB / 1.302 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008826/1.307, allocations: 410.3 kB / 1.303 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002884/1.31, allocations: 0.8838 MB / 1.303 GB, free: 452 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.31, allocations: 301.1 kB / 1.304 GB, free: 148 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005073/1.315, allocations: 2.621 MB / 1.306 GB, free: 13.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006079/1.321, allocations: 3.456 MB / 1.31 GB, free: 9.742 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00957/1.331, allocations: 5.583 MB / 1.315 GB, free: 3.902 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/1.331, allocations: 4 kB / 1.315 GB, free: 3.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01467/1.345, allocations: 7.05 MB / 1.322 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/1.345, allocations: 20.98 kB / 1.322 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/1.345, allocations: 19.94 kB / 1.322 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/1.347, allocations: 0.7176 MB / 1.323 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/1.351, allocations: 0.6631 MB / 1.323 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/1.353, allocations: 2.728 MB / 1.326 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/1.359, allocations: 436.8 kB / 1.327 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007893/1.36, allocations: 211.9 kB / 1.327 GB, free: 7.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006605/1.367, allocations: 3.241 MB / 1.33 GB, free: 4.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004883/1.371, allocations: 3.026 MB / 1.333 GB, free: 1.305 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008094/1.38, allocations: 4.728 MB / 1.337 GB, free: 12.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.116e-05/1.38, allocations: 4 kB / 1.337 GB, free: 12.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01304/1.393, allocations: 6.225 MB / 1.344 GB, free: 6.043 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.393, allocations: 12 kB / 1.344 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/1.393, allocations: 20 kB / 1.344 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002668/1.396, allocations: 0.8123 MB / 1.344 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/1.398, allocations: 0.628 MB / 1.345 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/1.417, allocations: 13.64 MB / 1.358 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004733/1.422, allocations: 350.3 kB / 1.359 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008091/1.423, allocations: 171.9 kB / 1.359 GB, free: 5.746 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001249/1.424, allocations: 336.2 kB / 1.359 GB, free: 5.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.425, allocations: 481.5 kB / 1.36 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009006/1.434, allocations: 3.318 MB / 1.363 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.434, allocations: 12 kB / 1.363 GB, free: 1.578 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.434, allocations: 0 / 1.363 GB, free: 1.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.434, allocations: 7.969 kB / 1.363 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.449, allocations: 6.15 MB / 1.369 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.449, allocations: 7.984 kB / 1.369 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.451, allocations: 303.6 kB / 1.369 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/1.452, allocations: 375.1 kB / 1.369 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/1.452, allocations: 55.83 kB / 1.37 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.454, allocations: 2.619 MB / 1.372 GB, free: 7.871 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.454, allocations: 0 / 1.372 GB, free: 7.871 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007573/1.462, allocations: 3.061 MB / 1.375 GB, free: 4.766 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.464, allocations: 0.7753 MB / 1.376 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.465, allocations: 31.92 kB / 1.376 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002772/1.468, allocations: 139.8 kB / 1.376 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.468, allocations: 89.19 kB / 1.376 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.468, allocations: 87.92 kB / 1.376 GB, free: 3.625 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.007548/1.476, allocations: 3.585 MB / 1.38 GB, free: 44 kB / 1.076 GB Notification: Performance of sort global known variables: time 4.31e-07/1.476, allocations: 3.938 kB / 1.38 GB, free: 40 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.008836/1.485, allocations: 2.312 MB / 1.382 GB, free: 13.72 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (117): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/1.487, allocations: 0.9018 MB / 1.383 GB, free: 12.82 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01658/1.504, allocations: 7.912 MB / 1.391 GB, free: 4.859 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.504, allocations: 0.625 kB / 1.391 GB, free: 4.859 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.507, allocations: 1.167 MB / 1.392 GB, free: 3.691 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/1.518, allocations: 2.435 MB / 1.394 GB, free: 1.336 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.535, allocations: 8.331 MB / 1.402 GB, free: 8.961 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/1.539, allocations: 2.871 MB / 1.405 GB, free: 6.059 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006548/1.545, allocations: 1.318 MB / 1.406 GB, free: 4.734 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/1.547, allocations: 387.2 kB / 1.407 GB, free: 4.355 MB / 1.107 GB Notification: Performance of SimCode: time 8.91e-07/1.547, allocations: 0 / 1.407 GB, free: 4.355 MB / 1.107 GB Notification: Performance of Templates: time 0.1679/1.715, allocations: 104.3 MB / 1.509 GB, free: 13.18 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches