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.001722/0.001722, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002057/0.002057, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.557/1.557, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.81/2.81, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.89 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5926, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002933/0.5956, allocations: 1.689 MB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007337/0.5963, allocations: 340 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.5964, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.5964, allocations: 11.92 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.5965, allocations: 11.86 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.5968, allocations: 71.8 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.5969, allocations: 99.7 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.5971, allocations: 39.95 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.5972, allocations: 31.86 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.5973, allocations: 47.78 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.5973, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.5974, allocations: 31.97 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.5974, allocations: 19.91 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.5975, allocations: 39.8 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.5976, allocations: 105.6 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5977, allocations: 11.92 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.02e-07/0.5977, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.5977, allocations: 0 / 1.019 GB, free: 244 kB / 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.0006747/0.5984, allocations: 403.2 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5984, allocations: 8.031 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.6, allocations: 172.5 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.6001, allocations: 180 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.6002, allocations: 8.375 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.6002, allocations: 4.375 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.6009, allocations: 174.1 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6009, allocations: 192 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.601, allocations: 7.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.601, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009917/0.602, allocations: 187.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.6033, allocations: 476.2 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.6046, allocations: 186.3 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.6049, allocations: 68.84 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.605, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.605, allocations: 34.56 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.605, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001257/0.6063, allocations: 221.2 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.6063, allocations: 59.41 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.6067, allocations: 191.9 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.6067, allocations: 25.7 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.6068, allocations: 107.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.6068, allocations: 15.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.6069, allocations: 25.69 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6071, allocations: 322.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.6076, allocations: 88.77 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.6081, allocations: 102.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.6089, allocations: 158.4 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6089, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001007/0.6099, allocations: 221.4 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6099, allocations: 8 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6099, allocations: 0 / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.61, allocations: 3.938 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.6103, allocations: 47.94 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.6103, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.6107, allocations: 39.8 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.6108, allocations: 15.98 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000232/0.611, allocations: 116.1 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002026/0.6112, allocations: 86.25 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003046/0.6115, allocations: 101.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/0.6115, allocations: 7.984 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000459/0.612, allocations: 137.3 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.612, allocations: 8 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.612, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.6121, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.6122, allocations: 35.84 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.6122, allocations: 4.219 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.6125, allocations: 19.97 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.6125, allocations: 4 kB / 1.023 GB, free: 11.93 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.0001242/0.6126, allocations: 180.9 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.6127, allocations: 7.906 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.6128, allocations: 20.19 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6128, allocations: 3.938 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6128, allocations: 192 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6128, allocations: 3.984 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.6131, allocations: 209.6 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6131, allocations: 0 / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.6133, allocations: 35.94 kB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.6133, allocations: 0 / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.6133, allocations: 7.938 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.6133, allocations: 0 / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6134, allocations: 0 / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.6142, allocations: 263.2 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6143, allocations: 96.98 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.6144, allocations: 3.938 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.6147, allocations: 27.97 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.6147, allocations: 8.047 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.6147, allocations: 8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002146/0.6149, allocations: 144.7 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.615, allocations: 4 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003673/0.6153, allocations: 32 kB / 1.024 GB, free: 10.8 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.0001764/0.6155, allocations: 103.7 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.6166, allocations: 204.2 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6167, allocations: 8 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.617, allocations: 67.84 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.6175, allocations: 10 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.6185, allocations: 272.7 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.6189, allocations: 0.6965 MB / 1.025 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.6191, allocations: 23.98 kB / 1.025 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.6192, allocations: 23.34 kB / 1.025 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of SimCode: time 7.22e-07/0.6192, allocations: 0 / 1.025 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of Templates: time 0.004766/0.624, allocations: 1.56 MB / 1.027 GB, free: 7.789 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