Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00643/0.006431, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001127/0.001127, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.368/2.368, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.16 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3018, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.09777/0.3997, allocations: 102.7 MB / 1.188 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04803/0.4477, allocations: 32.43 MB / 1.22 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006419/0.4542, allocations: 151.1 kB / 1.22 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007115/0.4613, allocations: 1.972 MB / 1.222 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01504/0.4764, allocations: 4.944 MB / 1.227 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.4878, allocations: 3.835 MB / 1.23 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01575/0.5036, allocations: 9.391 MB / 1.24 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006415/0.51, allocations: 3.511 MB / 1.243 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.5209, allocations: 4.05 MB / 1.247 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005806/0.5267, allocations: 2.98 MB / 1.25 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.5279, allocations: 399.9 kB / 1.25 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006599/0.5345, allocations: 2.57 MB / 1.253 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.536, allocations: 1.238 MB / 1.254 GB, free: 6.848 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003235/0.5392, allocations: 2.258 MB / 1.256 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.6675/1.207, allocations: 6.908 MB / 1.263 GB, free: 28.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.207, allocations: 0.8438 kB / 1.263 GB, free: 28.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/1.207, allocations: 2.062 kB / 1.263 GB, free: 28.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002047/1.207, allocations: 0 / 1.263 GB, free: 28.66 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01167/1.219, allocations: 4.799 MB / 1.268 GB, free: 26.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.219, allocations: 9 kB / 1.268 GB, free: 26.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009238/1.228, allocations: 1.497 MB / 1.269 GB, free: 26.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.239, allocations: 4.072 MB / 1.273 GB, free: 25.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/1.24, allocations: 177.3 kB / 1.273 GB, free: 25.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/1.241, allocations: 229.2 kB / 1.274 GB, free: 25.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006802/1.248, allocations: 2.706 MB / 1.276 GB, free: 25.22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/1.248, allocations: 4.219 kB / 1.276 GB, free: 25.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/1.248, allocations: 89.05 kB / 1.276 GB, free: 25.22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/1.248, allocations: 53.14 kB / 1.276 GB, free: 25.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005588/1.254, allocations: 2.091 MB / 1.278 GB, free: 25.19 MB / 1.014 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.01889/1.273, allocations: 12.54 MB / 1.291 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/1.277, allocations: 1.597 MB / 1.292 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/1.279, allocations: 0.7536 MB / 1.293 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006617/1.286, allocations: 3.73 MB / 1.297 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/1.286, allocations: 43.66 kB / 1.297 GB, free: 16.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 3.387e-06/1.286, allocations: 0 / 1.297 GB, free: 16.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.01074/1.297, allocations: 3.078 MB / 1.3 GB, free: 16.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.297, allocations: 62.56 kB / 1.3 GB, free: 16.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/1.302, allocations: 3.257 MB / 1.303 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003131/1.302, allocations: 55.61 kB / 1.303 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/1.304, allocations: 1.724 MB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/1.304, allocations: 365.6 kB / 1.305 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/1.305, allocations: 438 kB / 1.305 GB, free: 15.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/1.305, allocations: 302.4 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/1.307, allocations: 1.076 MB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/1.31, allocations: 1.727 MB / 1.308 GB, free: 13.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004981/1.315, allocations: 2.679 MB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/1.315, allocations: 4.875 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007607/1.323, allocations: 3.422 MB / 1.314 GB, free: 12.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/1.323, allocations: 13.72 kB / 1.314 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/1.323, allocations: 20.64 kB / 1.314 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.324, allocations: 0.5509 MB / 1.315 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/1.326, allocations: 449.9 kB / 1.315 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/1.328, allocations: 2.588 MB / 1.318 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/1.333, allocations: 274.8 kB / 1.318 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/1.334, allocations: 135.2 kB / 1.318 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004922/1.339, allocations: 1.543 MB / 1.32 GB, free: 10.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002455/1.342, allocations: 1.562 MB / 1.321 GB, free: 9.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003877/1.346, allocations: 2.364 MB / 1.324 GB, free: 9.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.148e-05/1.346, allocations: 5.531 kB / 1.324 GB, free: 9.168 MB / 1.014 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007088/1.353, allocations: 3.123 MB / 1.327 GB, free: 8.879 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.353, allocations: 13.22 kB / 1.327 GB, free: 8.879 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/1.353, allocations: 23.44 kB / 1.327 GB, free: 8.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/1.355, allocations: 0.6513 MB / 1.327 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/1.357, allocations: 424.4 kB / 1.328 GB, free: 8.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.37, allocations: 11.85 MB / 1.339 GB, free: 18.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/1.374, allocations: 206.4 kB / 1.339 GB, free: 18.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003392/1.375, allocations: 128.7 kB / 1.34 GB, free: 18.07 MB / 1.029 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 (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.000783/1.375, allocations: 285.9 kB / 1.34 GB, free: 17.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/1.376, allocations: 346.2 kB / 1.34 GB, free: 17.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/1.382, allocations: 2.638 MB / 1.343 GB, free: 17.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.383, allocations: 15.86 kB / 1.343 GB, free: 17.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.383, allocations: 6.625 kB / 1.343 GB, free: 17.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/1.383, allocations: 8.781 kB / 1.343 GB, free: 17.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009959/1.393, allocations: 4.772 MB / 1.347 GB, free: 16.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.393, allocations: 5.141 kB / 1.347 GB, free: 16.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.394, allocations: 263 kB / 1.348 GB, free: 16.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008161/1.395, allocations: 341.8 kB / 1.348 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.395, allocations: 48.89 kB / 1.348 GB, free: 16.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/1.396, allocations: 2.498 MB / 1.351 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.396, allocations: 3.844 kB / 1.351 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/1.402, allocations: 2.41 MB / 1.353 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.404, allocations: 0.5829 MB / 1.353 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/1.405, allocations: 20.59 kB / 1.353 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/1.406, allocations: 124.8 kB / 1.354 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.407, allocations: 76.11 kB / 1.354 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/1.407, allocations: 70.98 kB / 1.354 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00309/1.41, allocations: 2.178 MB / 1.356 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.41, allocations: 2.125 kB / 1.356 GB, free: 12.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005395/1.415, allocations: 1.715 MB / 1.358 GB, free: 11.79 MB / 1.029 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 (109): * Single equations (assignments): 96 * 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.001792/1.417, allocations: 0.7283 MB / 1.358 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009925/1.427, allocations: 4.252 MB / 1.362 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.427, allocations: 7.969 kB / 1.362 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.429, allocations: 0.925 MB / 1.363 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006971/1.436, allocations: 1.645 MB / 1.365 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.447, allocations: 5.737 MB / 1.371 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/1.449, allocations: 2.16 MB / 1.373 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003896/1.453, allocations: 0.8196 MB / 1.373 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/1.454, allocations: 270.8 kB / 1.374 GB, free: 2.605 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/1.454, allocations: 0 / 1.374 GB, free: 2.605 MB / 1.029 GB Notification: Performance of Templates: time 0.1254/1.579, allocations: 75.64 MB / 1.448 GB, free: 8.422 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches