Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007198/0.007198, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001648/0.001648, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2993, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002984/0.3023, allocations: 1.615 MB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.303, allocations: 339.9 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.3031, allocations: 3.938 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.3032, allocations: 15.86 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.708e-05/0.3033, allocations: 19.78 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3037, allocations: 87.77 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.3039, allocations: 107.6 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.304, allocations: 31.98 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.3041, allocations: 31.92 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.3042, allocations: 51.77 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3042, allocations: 8 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3043, allocations: 39.97 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.3044, allocations: 19.92 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.3044, allocations: 39.8 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3046, allocations: 123.4 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3046, allocations: 3.938 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3046, allocations: 0 / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3047, allocations: 0 / 1.169 GB, free: 4.266 MB / 0.92 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.0005801/0.3052, allocations: 407 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3053, allocations: 8.031 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3067, allocations: 168.6 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3068, allocations: 176.3 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3068, allocations: 8.375 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.3069, allocations: 8.375 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.3075, allocations: 170 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3076, allocations: 192 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.3076, allocations: 7.938 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3076, allocations: 0 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.3085, allocations: 187.8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3098, allocations: 484.1 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.3109, allocations: 186.4 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.3112, allocations: 64.86 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3113, allocations: 3.984 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3113, allocations: 34.56 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3113, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.001183/0.3125, allocations: 221.3 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3126, allocations: 59.41 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.3128, allocations: 184.2 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3128, allocations: 25.7 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.3129, allocations: 115.9 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.313, allocations: 11.89 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.313, allocations: 25.69 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3132, allocations: 326.8 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.3136, allocations: 92.77 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.3141, allocations: 102.4 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.3149, allocations: 154.4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3149, allocations: 0 / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001002/0.3159, allocations: 221.4 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3159, allocations: 9.562 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3159, allocations: 0 / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3159, allocations: 3.938 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.3163, allocations: 47.94 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3163, allocations: 0 / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.3167, allocations: 43.88 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3167, allocations: 8 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002352/0.3169, allocations: 124 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001881/0.3171, allocations: 82.12 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002763/0.3174, allocations: 101.9 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.3174, allocations: 4 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004405/0.3179, allocations: 141.3 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3179, allocations: 8 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3179, allocations: 4.062 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.3179, allocations: 4 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3181, allocations: 28.17 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.3181, allocations: 4 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3184, allocations: 23.92 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3184, allocations: 192 / 1.173 GB, free: 15.96 MB / 0.9356 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.0001094/0.3185, allocations: 189.1 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.3185, allocations: 7.953 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.3186, allocations: 24.16 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3186, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3186, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3186, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3189, allocations: 213.6 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3189, allocations: 3.938 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.3191, allocations: 31.95 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3191, allocations: 0 / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3191, allocations: 11.92 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3191, allocations: 0 / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3191, allocations: 0 / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008048/0.32, allocations: 255.3 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.3201, allocations: 105 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3201, allocations: 7.875 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.3204, allocations: 27.95 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.3204, allocations: 4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3205, allocations: 7.984 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001912/0.3207, allocations: 150 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3207, allocations: 0 / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003674/0.321, allocations: 36 kB / 1.174 GB, free: 14.82 MB / 0.9356 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.0001191/0.3212, allocations: 95.25 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.3222, allocations: 216.1 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3222, allocations: 0 / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.3226, allocations: 59.92 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3229, allocations: 16.06 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008794/0.3238, allocations: 242.8 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3241, allocations: 0.6963 MB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.3243, allocations: 23.98 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.3243, allocations: 19.42 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3244, allocations: 0 / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of Templates: time 0.004303/0.3287, allocations: 1.703 MB / 1.177 GB, free: 11.7 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches