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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001385/0.001385, allocations: 100.1 kB / 15.88 MB, free: 12 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.001449/0.001449, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.634/2.634, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.61 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003154/0.3235, allocations: 1.693 MB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.3243, allocations: 335 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.3244, allocations: 4 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.3245, allocations: 7.922 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3246, allocations: 11.86 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.325, allocations: 71.92 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3251, allocations: 103.5 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3253, allocations: 31.97 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3254, allocations: 35.86 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.3255, allocations: 43.78 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3255, allocations: 8 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3256, allocations: 43.89 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.3257, allocations: 15.92 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.3257, allocations: 35.81 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.3259, allocations: 72.09 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3259, allocations: 0 / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3259, allocations: 0 / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3259, allocations: 4 kB / 1.055 GB, free: 5.793 MB / 0.8106 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.0006233/0.3265, allocations: 399.2 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3266, allocations: 19.97 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.3281, allocations: 172.5 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3283, allocations: 176.2 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3283, allocations: 8.375 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.3283, allocations: 4.375 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.329, allocations: 179.2 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.329, allocations: 4.188 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.329, allocations: 7.938 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3291, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.33, allocations: 183.8 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.3313, allocations: 476.3 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3325, allocations: 178.4 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.3328, allocations: 68.78 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3329, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3329, allocations: 38.56 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3329, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001215/0.3341, allocations: 225.4 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.3342, allocations: 51.41 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.3345, allocations: 188.1 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3345, allocations: 25.7 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.3346, allocations: 115.9 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.3346, allocations: 15.73 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.3347, allocations: 29.69 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3348, allocations: 322.8 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.3353, allocations: 84.77 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.3357, allocations: 106.5 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.3365, allocations: 158.4 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3366, allocations: 0 / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001001/0.3376, allocations: 217.4 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3376, allocations: 4 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3376, allocations: 3.984 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3376, allocations: 11.97 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.338, allocations: 39.94 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.338, allocations: 3.938 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.3384, allocations: 47.8 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.3384, allocations: 3.984 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002234/0.3386, allocations: 124.1 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001859/0.3388, allocations: 81.97 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002627/0.3391, allocations: 101.8 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.3391, allocations: 0 / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004393/0.3396, allocations: 145.3 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.3396, allocations: 4.219 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.3396, allocations: 4 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/0.3396, allocations: 4 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3398, allocations: 23.92 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3398, allocations: 4.375 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.3401, allocations: 27.97 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3401, allocations: 8 kB / 1.059 GB, free: 1.48 MB / 0.8106 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.0001142/0.3402, allocations: 188.1 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3402, allocations: 7.906 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.3403, allocations: 16.19 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3403, allocations: 0 / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3403, allocations: 4 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3403, allocations: 0 / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.3406, allocations: 209.5 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3406, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.3408, allocations: 35.95 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3408, allocations: 0 / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3409, allocations: 7.922 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3409, allocations: 0 / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.3409, allocations: 3.984 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.3417, allocations: 263.2 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.3418, allocations: 93 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.3418, allocations: 11.86 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.3421, allocations: 27.97 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3422, allocations: 4 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3422, allocations: 3.984 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001921/0.3424, allocations: 148.3 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3424, allocations: 4 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000369/0.3428, allocations: 32 kB / 1.06 GB, free: 360 kB / 0.8106 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.0001363/0.3429, allocations: 95.25 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.344, allocations: 211.7 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.344, allocations: 3.938 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.3444, allocations: 64.56 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3447, allocations: 11.98 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.3457, allocations: 300.6 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3459, allocations: 0.6926 MB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.346, allocations: 19.41 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3461, allocations: 4 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003564/0.3496, allocations: 1.703 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches