Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9587/0.9587, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.139/2.139, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.087e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002761/0.002792, allocations: 1.671 MB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.003504, allocations: 334.9 kB / 0.8814 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.003573, allocations: 5.344 kB / 0.8814 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.003616, allocations: 7.875 kB / 0.8814 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.003711, allocations: 19.78 kB / 0.8814 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.004092, allocations: 85.09 kB / 0.8815 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.004234, allocations: 107.6 kB / 0.8816 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.004384, allocations: 25.56 kB / 0.8816 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.004503, allocations: 59.88 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.00458, allocations: 31.91 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.004603, allocations: 8 kB / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.834e-05/0.004702, allocations: 42.02 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.004727, allocations: 19.92 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.004762, allocations: 31.91 kB / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.004941, allocations: 95.58 kB / 0.8819 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004944, allocations: 0 / 0.8819 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004945, allocations: 0 / 0.8819 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.00495, allocations: 2.469 kB / 0.8819 GB, free: 3.52 MB / 0.8386 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.0004761/0.005426, allocations: 420.2 kB / 0.8823 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.005467, allocations: 12.03 kB / 0.8823 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006163/0.006084, allocations: 144.4 kB / 0.8824 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.006208, allocations: 124.5 kB / 0.8825 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.006226, allocations: 384 / 0.8825 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.006249, allocations: 16.36 kB / 0.8826 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.006556, allocations: 141.3 kB / 0.8827 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.006566, allocations: 192 / 0.8827 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.006579, allocations: 8.312 kB / 0.8827 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.006588, allocations: 4.375 kB / 0.8827 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.006674, allocations: 47.89 kB / 0.8827 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.00734, allocations: 395.8 kB / 0.8831 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.007596, allocations: 82.98 kB / 0.8832 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.007626, allocations: 11.75 kB / 0.8832 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.007644, allocations: 4 kB / 0.8832 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.007672, allocations: 37.33 kB / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.007673, allocations: 0 / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002192/0.007892, allocations: 69.59 kB / 0.8833 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.007928, allocations: 51.41 kB / 0.8834 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.00807, allocations: 205.9 kB / 0.8836 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.008087, allocations: 29.7 kB / 0.8836 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.008172, allocations: 166.5 kB / 0.8838 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.008181, allocations: 3.953 kB / 0.8838 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.008253, allocations: 43.28 kB / 0.8838 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.008413, allocations: 0.4922 MB / 0.8843 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.008475, allocations: 23.66 kB / 0.8843 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.008539, allocations: 46.98 kB / 0.8843 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.008631, allocations: 51.05 kB / 0.8844 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.008634, allocations: 4 kB / 0.8844 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.008805, allocations: 77.59 kB / 0.8845 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.008821, allocations: 10.25 kB / 0.8845 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.008827, allocations: 0 / 0.8845 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.008839, allocations: 4 kB / 0.8845 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.008976, allocations: 39.89 kB / 0.8845 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.008979, allocations: 0 / 0.8845 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.009103, allocations: 27.92 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.009115, allocations: 4 kB / 0.8846 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.134e-05/0.009186, allocations: 146.7 kB / 0.8847 GB, free: 408 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.47e-05/0.009251, allocations: 69.8 kB / 0.8848 GB, free: 308 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.115e-05/0.009332, allocations: 85.73 kB / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.009333, allocations: 0 / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0001241/0.009457, allocations: 73.52 kB / 0.8849 GB, free: 112 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.009466, allocations: 8 kB / 0.8849 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.00947, allocations: 12.2 kB / 0.8849 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-06/0.009475, allocations: 4 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.009538, allocations: 19.92 kB / 0.885 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.009541, allocations: 4 kB / 0.885 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.009622, allocations: 11.94 kB / 0.885 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.009629, allocations: 7.984 kB / 0.885 GB, free: 44 kB / 0.8386 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.0001348/0.009763, allocations: 272 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.009794, allocations: 11.95 kB / 0.8852 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.009839, allocations: 12.34 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.009841, allocations: 0 / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.009844, allocations: 0 / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.009848, allocations: 0 / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.009997, allocations: 121.2 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01, allocations: 3.984 kB / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.01008, allocations: 31.91 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01009, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01009, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.01009, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.0101, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01028, allocations: 216 kB / 0.8856 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.01032, allocations: 19.92 kB / 0.8856 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.01034, allocations: 0 / 0.8856 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01044, allocations: 19.98 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.01048, allocations: 3.984 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.01048, allocations: 0 / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.219e-05/0.01055, allocations: 155.1 kB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01055, allocations: 0 / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002582/0.01081, allocations: 39.89 kB / 0.8858 GB, free: 15.1 MB / 0.8542 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.0001346/0.01095, allocations: 99.19 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.01115, allocations: 79.19 kB / 0.886 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.01115, allocations: 0 / 0.886 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.01119, allocations: 23.61 kB / 0.886 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01142, allocations: 21.3 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.01187, allocations: 214.7 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.095e-05/0.01192, allocations: 60.97 kB / 0.8863 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.733e-05/0.01201, allocations: 20 kB / 0.8863 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.01212, allocations: 86.17 kB / 0.8864 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of SimCode: time 1.503e-06/0.01212, allocations: 0 / 0.8864 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.004095/0.01621, allocations: 1.886 MB / 0.8883 GB, free: 12.55 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.718289063777775]