Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_9_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_9_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.001607/0.001608, allocations: 113.2 kB / 16.37 MB, free: 6.012 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.001718/0.001718, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 64.16 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2474, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002538/0.25, allocations: 1.613 MB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005468/0.2506, allocations: 308 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.2506, allocations: 0 / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.2507, allocations: 11.88 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.2507, allocations: 23.78 kB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.251, allocations: 67.84 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2511, allocations: 103.6 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2512, allocations: 31.98 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.2513, allocations: 39.84 kB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.2514, allocations: 47.78 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2514, allocations: 8 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.2515, allocations: 27.97 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.2515, allocations: 19.92 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.2516, allocations: 47.72 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2517, allocations: 99.62 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2517, allocations: 0 / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2517, allocations: 3.938 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2517, allocations: 4 kB / 0.9535 GB, free: 5.574 MB / 0.7325 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.0004979/0.2522, allocations: 403.1 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.2523, allocations: 12.03 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.2532, allocations: 116.7 kB / 0.954 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2533, allocations: 176.2 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2534, allocations: 8.281 kB / 0.9542 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2534, allocations: 8.375 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.2539, allocations: 154.1 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2539, allocations: 8.125 kB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2539, allocations: 3.938 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2539, allocations: 0 / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.2547, allocations: 155.8 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/0.2556, allocations: 456.2 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.2563, allocations: 138.5 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.2566, allocations: 76.91 kB / 0.9552 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2566, allocations: 4 kB / 0.9552 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.2567, allocations: 30.56 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.2567, allocations: 4 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.001135/0.2578, allocations: 245.3 kB / 0.9554 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2579, allocations: 55.34 kB / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.258, allocations: 160.8 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.258, allocations: 29.7 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.2581, allocations: 100 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.2581, allocations: 11.81 kB / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.2582, allocations: 33.69 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.2583, allocations: 314.8 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.2586, allocations: 76.78 kB / 0.9562 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.259, allocations: 67.92 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.2597, allocations: 136.7 kB / 0.9564 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2597, allocations: 4 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007626/0.2604, allocations: 197.4 kB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2605, allocations: 10.19 kB / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2605, allocations: 0 / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2605, allocations: 0 / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.2607, allocations: 39.89 kB / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2608, allocations: 0 / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.261, allocations: 31.91 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.261, allocations: 3.984 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001252/0.2611, allocations: 112.1 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001072/0.2612, allocations: 60.27 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001717/0.2614, allocations: 80.2 kB / 0.9569 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.2614, allocations: 3.938 kB / 0.9569 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002447/0.2617, allocations: 109.5 kB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-06/0.2617, allocations: 7.938 kB / 0.957 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.2617, allocations: 0 / 0.957 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.2617, allocations: 4 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.2618, allocations: 19.92 kB / 0.957 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.2618, allocations: 3.938 kB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.2619, allocations: 20.05 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2619, allocations: 0 / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.112e-05/0.262, allocations: 184.3 kB / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.262, allocations: 7.906 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.2621, allocations: 12.31 kB / 0.9572 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2621, allocations: 3.938 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2621, allocations: 0 / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2621, allocations: 4 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2632, allocations: 476 kB / 0.9577 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2632, allocations: 4.188 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.2634, allocations: 47.95 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2634, allocations: 0 / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2634, allocations: 7.984 kB / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2635, allocations: 0 / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2635, allocations: 0 / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.2643, allocations: 285 kB / 0.958 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.2644, allocations: 100.8 kB / 0.9581 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.2644, allocations: 3.984 kB / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2646, allocations: 27.97 kB / 0.9582 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2647, allocations: 7.938 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2647, allocations: 7.984 kB / 0.9582 GB, free: 432 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.442e-05/0.2648, allocations: 117.2 kB / 0.9583 GB, free: 316 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2648, allocations: 0 / 0.9583 GB, free: 316 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003217/0.2651, allocations: 35.98 kB / 0.9583 GB, free: 280 kB / 0.7325 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 (5): * Single equations (assignments): 5 * 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.0001328/0.2653, allocations: 103.3 kB / 0.9584 GB, free: 168 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.2662, allocations: 183.8 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2662, allocations: 320 / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.2666, allocations: 79.86 kB / 0.9587 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2669, allocations: 11.94 kB / 0.9587 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009561/0.2679, allocations: 289.2 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.2681, allocations: 0.7039 MB / 0.9596 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.718e-05/0.2682, allocations: 15.98 kB / 0.9597 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.2683, allocations: 15.42 kB / 0.9597 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2683, allocations: 0 / 0.9597 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.003498/0.2718, allocations: 1.419 MB / 0.9611 GB, free: 13.4 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches