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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001177/0.001177, allocations: 195 kB / 16.14 MB, free: 6.652 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6642 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.84 kB / 0.8119 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6994, allocations: 140.4 MB / 0.9489 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002898/0.7024, allocations: 1.664 MB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.7031, allocations: 311.2 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.7031, allocations: 0 / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.7032, allocations: 7.922 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.849e-05/0.7033, allocations: 10.58 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.7036, allocations: 59.47 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.7038, allocations: 110.9 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.7039, allocations: 28.12 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.704, allocations: 31.61 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.7041, allocations: 48.86 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.7041, allocations: 4.25 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.7042, allocations: 22.95 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.7042, allocations: 15.7 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.7043, allocations: 46.98 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.7044, allocations: 95.8 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7044, allocations: 0 / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7044, allocations: 0 / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.7045, allocations: 0 / 0.9513 GB, free: 7.422 MB / 0.7169 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.0005367/0.705, allocations: 401.8 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.705, allocations: 9.25 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.7061, allocations: 119.9 kB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.7062, allocations: 184.6 kB / 0.952 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.7063, allocations: 15 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.7063, allocations: 5.375 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.7068, allocations: 153.1 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.7069, allocations: 1.25 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.7069, allocations: 11.88 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7069, allocations: 2.25 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.7077, allocations: 156.4 kB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.7087, allocations: 447.6 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.7094, allocations: 145.2 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.7098, allocations: 76.86 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.7098, allocations: 5.672 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.7098, allocations: 34.55 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.7098, allocations: 1.594 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001254/0.7111, allocations: 239 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.7111, allocations: 60.16 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.7113, allocations: 162.3 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.7113, allocations: 25.7 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.7113, allocations: 96.39 kB / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.7114, allocations: 25.78 kB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.7114, allocations: 24.42 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.7115, allocations: 321.9 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.7119, allocations: 75.78 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.7122, allocations: 68.86 kB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.7129, allocations: 133 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.713, allocations: 4 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007757/0.7137, allocations: 183.8 kB / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7138, allocations: 10.03 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7138, allocations: 0 / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7138, allocations: 0 / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.7141, allocations: 50.81 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7141, allocations: 0 / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.7143, allocations: 29.94 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.7143, allocations: 1.375 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001251/0.7145, allocations: 115.1 kB / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.313e-05/0.7146, allocations: 56.05 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001648/0.7147, allocations: 86.61 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.7148, allocations: 0 / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002487/0.715, allocations: 105.3 kB / 0.9548 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.715, allocations: 9.562 kB / 0.9548 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.715, allocations: 1.281 kB / 0.9548 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.715, allocations: 5.516 kB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.7151, allocations: 14.19 kB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7151, allocations: 15.42 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.7152, allocations: 3.5 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.7152, allocations: 7.531 kB / 0.9548 GB, free: 4.512 MB / 0.7169 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 6.624e-05/0.7153, allocations: 180.3 kB / 0.955 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.7153, allocations: 19.06 kB / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.7154, allocations: 12.3 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.7154, allocations: 7.781 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7154, allocations: 0 / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7154, allocations: 256 / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.7165, allocations: 476 kB / 0.9555 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7165, allocations: 9.156 kB / 0.9555 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.7167, allocations: 31.73 kB / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7167, allocations: 1.156 kB / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.7168, allocations: 13.17 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7168, allocations: 1.062 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7168, allocations: 1.094 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.7175, allocations: 287.7 kB / 0.9558 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.7176, allocations: 97.59 kB / 0.9559 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.7176, allocations: 1.094 kB / 0.9559 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.7179, allocations: 20.31 kB / 0.9559 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.7179, allocations: 15.3 kB / 0.956 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.718, allocations: 5 kB / 0.956 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.718, allocations: 121.5 kB / 0.9561 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/0.718, allocations: 0 / 0.9561 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003357/0.7184, allocations: 33.62 kB / 0.9561 GB, free: 3.375 MB / 0.7169 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 9.844e-05/0.7185, allocations: 104.4 kB / 0.9562 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000857/0.7194, allocations: 187.3 kB / 0.9564 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7194, allocations: 3.938 kB / 0.9564 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.7197, allocations: 79.44 kB / 0.9565 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.7201, allocations: 11.56 kB / 0.9565 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.7211, allocations: 288.7 kB / 0.9568 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.7212, allocations: 0.7009 MB / 0.9574 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.7213, allocations: 11.12 kB / 0.9574 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.7214, allocations: 24.81 kB / 0.9575 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7214, allocations: 0 / 0.9575 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.003764/0.7252, allocations: 1.317 MB / 0.9588 GB, free: 1.508 MB / 0.7169 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 -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/jenkins/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