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.001615/0.001615, 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.001663/0.001663, allocations: 197 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.421/2.421, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.722, allocations: 140.4 MB / 0.9496 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002522/0.7246, allocations: 1.611 MB / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.7252, allocations: 306.7 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.7253, allocations: 1.25 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.7253, allocations: 7.875 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.7254, allocations: 21.09 kB / 0.9515 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.7258, allocations: 65.97 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.7259, allocations: 108.4 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.726, allocations: 31.59 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.7261, allocations: 40.48 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.7262, allocations: 45.09 kB / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.7262, allocations: 7.031 kB / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.7263, allocations: 34.48 kB / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.7263, allocations: 18.48 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.7264, allocations: 43.23 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.7265, allocations: 99.84 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7265, allocations: 1.281 kB / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7265, allocations: 0 / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.7266, allocations: 0 / 0.952 GB, free: 7.41 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.000511/0.7271, allocations: 397.9 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7271, allocations: 14.12 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.7282, allocations: 123 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.7283, allocations: 184.9 kB / 0.9526 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.7283, allocations: 3.219 kB / 0.9526 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.7283, allocations: 14.12 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.7289, allocations: 147.9 kB / 0.9528 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7289, allocations: 4.172 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.7289, allocations: 8.906 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7289, allocations: 1.969 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.7297, allocations: 151.8 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.7306, allocations: 445.7 kB / 0.9534 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.7314, allocations: 142.5 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.7318, allocations: 80.34 kB / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.7318, allocations: 1.406 kB / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.7318, allocations: 36.19 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.7318, allocations: 0 / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001221/0.733, allocations: 239.5 kB / 0.9539 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.7331, allocations: 60.38 kB / 0.9539 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.7332, allocations: 158 kB / 0.9541 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.7332, allocations: 25.7 kB / 0.9541 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.7333, allocations: 104.1 kB / 0.9542 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.7333, allocations: 19.08 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.7334, allocations: 27.78 kB / 0.9542 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.7334, allocations: 321.3 kB / 0.9545 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.7338, allocations: 76.84 kB / 0.9546 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.7342, allocations: 68.62 kB / 0.9547 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.7349, allocations: 135.7 kB / 0.9548 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7349, allocations: 1.219 kB / 0.9548 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007997/0.7357, allocations: 187.6 kB / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.7357, allocations: 5.188 kB / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7357, allocations: 0 / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7358, allocations: 5.094 kB / 0.955 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.736, allocations: 37.48 kB / 0.955 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7361, allocations: 1.25 kB / 0.955 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.7363, allocations: 36.5 kB / 0.9551 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.7363, allocations: 10.3 kB / 0.9551 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001245/0.7364, allocations: 111.7 kB / 0.9552 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.845e-05/0.7365, allocations: 48.77 kB / 0.9552 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001706/0.7367, allocations: 87.81 kB / 0.9553 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.7367, allocations: 3.984 kB / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002226/0.737, allocations: 107.8 kB / 0.9554 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.737, allocations: 8.312 kB / 0.9554 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.737, allocations: 0 / 0.9554 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.737, allocations: 3.812 kB / 0.9554 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.7371, allocations: 18.39 kB / 0.9555 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.7371, allocations: 9.812 kB / 0.9555 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.7372, allocations: 8.766 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.7372, allocations: 2.875 kB / 0.9555 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.315e-05/0.7372, allocations: 182.4 kB / 0.9556 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.7373, allocations: 11.97 kB / 0.9557 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.7373, allocations: 19.5 kB / 0.9557 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.7374, allocations: 4.938 kB / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7374, allocations: 1.125 kB / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7374, allocations: 0 / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.7384, allocations: 481.9 kB / 0.9561 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7384, allocations: 9.156 kB / 0.9561 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.7386, allocations: 39.97 kB / 0.9562 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7386, allocations: 0.9688 kB / 0.9562 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7387, allocations: 1.906 kB / 0.9562 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7387, allocations: 4.781 kB / 0.9562 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7387, allocations: 0.875 kB / 0.9562 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.7395, allocations: 294 kB / 0.9565 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.7395, allocations: 101 kB / 0.9566 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.7396, allocations: 1.719 kB / 0.9566 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.7398, allocations: 23.38 kB / 0.9566 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.7399, allocations: 3.25 kB / 0.9566 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.7399, allocations: 10.2 kB / 0.9566 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.74, allocations: 124.1 kB / 0.9567 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.31e-07/0.74, allocations: 0 / 0.9567 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003327/0.7403, allocations: 34.41 kB / 0.9568 GB, free: 3.363 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 0.0001193/0.7405, allocations: 107.6 kB / 0.9569 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009111/0.7414, allocations: 187.2 kB / 0.957 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7414, allocations: 0 / 0.957 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.7418, allocations: 76.14 kB / 0.9571 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.7421, allocations: 10.91 kB / 0.9571 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/0.7431, allocations: 274.7 kB / 0.9574 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.7432, allocations: 0.7032 MB / 0.9581 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.7433, allocations: 15.36 kB / 0.9581 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.7434, allocations: 24.53 kB / 0.9581 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7434, allocations: 1.094 kB / 0.9581 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.003779/0.7472, allocations: 1.431 MB / 0.9595 GB, free: 1.449 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