Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 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.001374/0.001374, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.554/1.554, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.00202, allocations: 63.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6776/0.6796, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003205/0.6828, allocations: 1.628 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.6837, allocations: 341.6 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.6837, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.6838, allocations: 11.86 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.6839, allocations: 15.81 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.6843, allocations: 75.84 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.6844, allocations: 111.6 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.6846, allocations: 39.98 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.6847, allocations: 35.86 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.6848, allocations: 51.75 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.6848, allocations: 8 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.6849, allocations: 35.98 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.685, allocations: 15.92 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.685, allocations: 43.8 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.6852, allocations: 109.6 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6852, allocations: 4 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6852, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.6852, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006597/0.6859, allocations: 407.1 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.686, allocations: 12.03 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.6874, allocations: 164.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.6876, allocations: 179.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.6877, allocations: 8.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.6877, allocations: 4.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.6884, allocations: 177.9 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6884, allocations: 192 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.6884, allocations: 7.938 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.6884, allocations: 7.984 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.6894, allocations: 179.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.6908, allocations: 488.1 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.6919, allocations: 182.4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.6923, allocations: 64.78 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.6923, allocations: 8 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6924, allocations: 34.5 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6924, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001215/0.6936, allocations: 221.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.6936, allocations: 55.41 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.6939, allocations: 188.6 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.694, allocations: 25.7 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.694, allocations: 115.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.6941, allocations: 7.812 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.6942, allocations: 29.69 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6943, allocations: 322.8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.6948, allocations: 96.77 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.6953, allocations: 102.4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/0.6961, allocations: 150.4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6962, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001029/0.6972, allocations: 225.4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.6972, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6972, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6973, allocations: 7.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.6976, allocations: 51.86 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6976, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.698, allocations: 43.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.6981, allocations: 11.98 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002749/0.6983, allocations: 120.1 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002126/0.6986, allocations: 77.97 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002999/0.6989, allocations: 105.8 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.6989, allocations: 320 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004699/0.6994, allocations: 133.4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.6994, allocations: 9.234 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.6994, allocations: 3.984 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-06/0.6994, allocations: 4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.6996, allocations: 31.98 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6996, allocations: 12.12 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.6998, allocations: 23.91 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.6999, allocations: 7.938 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.7, allocations: 176.3 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.7, allocations: 11.89 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.7001, allocations: 20.19 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7001, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7001, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7001, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.7004, allocations: 209.6 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7004, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.7006, allocations: 35.95 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7007, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.7007, allocations: 7.922 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.7007, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7007, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.7016, allocations: 267.1 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.7017, allocations: 93 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.7017, allocations: 3.938 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.702, allocations: 27.95 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.702, allocations: 4 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.7021, allocations: 7.984 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002362/0.7023, allocations: 145.4 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7023, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003581/0.7027, allocations: 32 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.7028, allocations: 107.2 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.7039, allocations: 212.2 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.704, allocations: 4.062 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.7043, allocations: 63.92 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.7047, allocations: 8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.7056, allocations: 243 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.706, allocations: 0.6963 MB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.7062, allocations: 23.98 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.7063, allocations: 23.41 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of SimCode: time 2.384e-06/0.7063, allocations: 0 / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of Templates: time 0.004883/0.7112, allocations: 1.681 MB / 1.028 GB, free: 7.453 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches