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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 108 kB / 15.6 MB, free: 132 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.00143/0.001429, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 65.75 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1135/0.4337, allocations: 104.1 MB / 1.165 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.05483/0.4886, allocations: 34.96 MB / 1.199 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0079/0.4966, allocations: 163.1 kB / 1.2 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.02975/0.5263, allocations: 18.53 MB / 1.218 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.5422, allocations: 5.291 MB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00987/0.5521, allocations: 3.983 MB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.6445/1.197, allocations: 31.03 MB / 1.257 GB, free: 42.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006851/1.203, allocations: 3.548 MB / 1.261 GB, free: 42.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009929/1.213, allocations: 4.108 MB / 1.265 GB, free: 42.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008959/1.222, allocations: 3.229 MB / 1.268 GB, free: 41.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002235/1.225, allocations: 432.9 kB / 1.268 GB, free: 41.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.236, allocations: 2.896 MB / 1.271 GB, free: 41.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003459/1.239, allocations: 1.835 MB / 1.273 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008402/1.248, allocations: 3.004 MB / 1.276 GB, free: 40.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01807/1.266, allocations: 8.717 MB / 1.284 GB, free: 39.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/1.266, allocations: 0 / 1.284 GB, free: 39.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.216e-06/1.266, allocations: 1.375 kB / 1.284 GB, free: 39.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002732/1.266, allocations: 0 / 1.284 GB, free: 39.45 MB / 0.9981 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.01967/1.286, allocations: 6.317 MB / 1.29 GB, free: 36.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.286, allocations: 9.844 kB / 1.29 GB, free: 36.38 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005615/1.286, allocations: 297.2 kB / 1.291 GB, free: 36.33 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/1.299, allocations: 1.903 MB / 1.293 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03169/1.331, allocations: 17.65 MB / 1.31 GB, free: 34.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/1.331, allocations: 196 kB / 1.31 GB, free: 34.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/1.332, allocations: 250 kB / 1.31 GB, free: 34.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005652/1.337, allocations: 3.231 MB / 1.313 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/1.338, allocations: 3.375 kB / 1.313 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/1.338, allocations: 93 kB / 1.313 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/1.338, allocations: 51.94 kB / 1.313 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006097/1.344, allocations: 2.614 MB / 1.316 GB, free: 34.17 MB / 0.9981 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.02004/1.364, allocations: 14.95 MB / 1.331 GB, free: 25.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005431/1.369, allocations: 2.302 MB / 1.333 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/1.372, allocations: 1.001 MB / 1.334 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009055/1.381, allocations: 4.956 MB / 1.339 GB, free: 22.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.381, allocations: 51.34 kB / 1.339 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=112): time 3.176e-06/1.381, allocations: 0 / 1.339 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.01219/1.393, allocations: 3.986 MB / 1.343 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/1.393, allocations: 61.22 kB / 1.343 GB, free: 20.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009619/1.403, allocations: 5.49 MB / 1.348 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005901/1.404, allocations: 67.83 kB / 1.348 GB, free: 17.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.405, allocations: 2.273 MB / 1.35 GB, free: 16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/1.406, allocations: 407.8 kB / 1.351 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/1.407, allocations: 0.8781 MB / 1.352 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/1.407, allocations: 301.1 kB / 1.352 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/1.411, allocations: 2.632 MB / 1.354 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/1.416, allocations: 3.465 MB / 1.358 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008188/1.424, allocations: 5.606 MB / 1.363 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/1.424, allocations: 7.656 kB / 1.363 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01349/1.437, allocations: 7.083 MB / 1.37 GB, free: 15.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/1.438, allocations: 12 kB / 1.37 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/1.438, allocations: 16 kB / 1.37 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/1.439, allocations: 0.7224 MB / 1.371 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/1.443, allocations: 0.6696 MB / 1.372 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.445, allocations: 2.722 MB / 1.374 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/1.451, allocations: 459.4 kB / 1.375 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006094/1.451, allocations: 207.9 kB / 1.375 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006344/1.458, allocations: 3.251 MB / 1.378 GB, free: 7.145 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004461/1.462, allocations: 3.043 MB / 1.381 GB, free: 3.797 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007885/1.47, allocations: 4.739 MB / 1.386 GB, free: 14.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.558e-05/1.47, allocations: 8 kB / 1.386 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01438/1.484, allocations: 6.257 MB / 1.392 GB, free: 8.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.485, allocations: 12 kB / 1.392 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/1.485, allocations: 16 kB / 1.392 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/1.487, allocations: 0.8173 MB / 1.393 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/1.49, allocations: 0.6317 MB / 1.393 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/1.508, allocations: 13.65 MB / 1.407 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/1.515, allocations: 367.9 kB / 1.407 GB, free: 8.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.516, allocations: 171.9 kB / 1.407 GB, free: 8.488 MB / 1.045 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.001984/1.518, allocations: 339.3 kB / 1.407 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002073/1.52, allocations: 497.4 kB / 1.408 GB, free: 7.699 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.531, allocations: 3.336 MB / 1.411 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/1.531, allocations: 15.98 kB / 1.411 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.531, allocations: 3.984 kB / 1.411 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/1.531, allocations: 11.91 kB / 1.411 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.548, allocations: 6.192 MB / 1.417 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.548, allocations: 7.984 kB / 1.417 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.55, allocations: 305.6 kB / 1.418 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/1.551, allocations: 382.5 kB / 1.418 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.551, allocations: 55.94 kB / 1.418 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.553, allocations: 2.62 MB / 1.42 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.553, allocations: 4.031 kB / 1.42 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008767/1.562, allocations: 3.087 MB / 1.424 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00304/1.565, allocations: 0.783 MB / 1.424 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/1.567, allocations: 20 kB / 1.424 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/1.571, allocations: 157.5 kB / 1.424 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/1.571, allocations: 88.56 kB / 1.425 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.571, allocations: 95.86 kB / 1.425 GB, free: 6.395 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.009349/1.58, allocations: 3.627 MB / 1.428 GB, free: 2.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.2e-07/1.58, allocations: 4 kB / 1.428 GB, free: 2.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01285/1.593, allocations: 2.32 MB / 1.43 GB, free: 456 kB / 1.061 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.01121/1.605, allocations: 4.202 MB / 1.435 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01987/1.624, allocations: 7.998 MB / 1.442 GB, free: 4.367 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.625, allocations: 0 / 1.442 GB, free: 4.367 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003475/1.628, allocations: 1.177 MB / 1.443 GB, free: 3.211 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01336/1.641, allocations: 2.429 MB / 1.446 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0997/1.741, allocations: 52.04 MB / 1.497 GB, free: 9.789 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/1.745, allocations: 2.872 MB / 1.499 GB, free: 6.887 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.006967/1.752, allocations: 1.334 MB / 1.501 GB, free: 5.551 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00371/1.755, allocations: 2.232 MB / 1.503 GB, free: 3.32 MB / 1.139 GB Notification: Performance of SimCode: time 1.012e-06/1.755, allocations: 4 kB / 1.503 GB, free: 3.316 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2413/1.997, allocations: 145.3 MB / 1.645 GB, free: 3.82 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/17.54, allocations: 2.969 kB / 1.645 GB, free: 3.82 MB / 1.279 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.csv","/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