Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 210 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.66 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003066/0.315, allocations: 1.613 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.3157, allocations: 323.1 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.3158, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.3158, allocations: 11.86 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.3159, allocations: 19.78 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3162, allocations: 75.81 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3164, allocations: 111.6 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3165, allocations: 31.92 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.3166, allocations: 43.84 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.3167, allocations: 43.78 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.3167, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.3168, allocations: 39.97 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3168, allocations: 15.92 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.3169, allocations: 43.84 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3171, allocations: 103.6 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3171, allocations: 3.984 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3171, allocations: 3.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3171, allocations: 7.938 kB / 1.33 GB, free: 14.45 MB / 1.029 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.0006079/0.3177, allocations: 329.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3177, allocations: 8.031 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.3193, allocations: 164.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3195, allocations: 122.4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3195, allocations: 12.38 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.3195, allocations: 4.375 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/0.3202, allocations: 179.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3202, allocations: 4.125 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3203, allocations: 3.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3203, allocations: 4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3213, allocations: 179.8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.3226, allocations: 388.1 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.3239, allocations: 186.4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.3243, allocations: 64.86 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3243, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3243, allocations: 34.55 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 3.116e-06/0.3243, allocations: 3.984 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001324/0.3256, allocations: 229.4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.3257, allocations: 55.34 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.3259, allocations: 159.8 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.326, allocations: 25.7 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.326, allocations: 111.9 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.3261, allocations: 19.89 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.3261, allocations: 29.69 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3263, allocations: 318.8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.3268, allocations: 92.77 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.3273, allocations: 102.4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.3282, allocations: 154.4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3282, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001116/0.3293, allocations: 221.4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3293, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3293, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3294, allocations: 7.969 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.3297, allocations: 43.94 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3297, allocations: 4.141 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.3302, allocations: 43.94 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3302, allocations: 4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002515/0.3305, allocations: 120.1 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002314/0.3307, allocations: 81.92 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002911/0.331, allocations: 105.9 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.331, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000486/0.3315, allocations: 141.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3315, allocations: 7.938 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.3315, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-06/0.3315, allocations: 4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3317, allocations: 23.97 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3317, allocations: 7.938 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.332, allocations: 31.98 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.332, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 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.0001337/0.3321, allocations: 184.7 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.3322, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.3322, allocations: 12.33 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3322, allocations: 3.938 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3322, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3322, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.3324, allocations: 141.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3324, allocations: 4.062 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.3327, allocations: 31.95 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3327, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3327, allocations: 3.984 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3327, allocations: 11.94 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3327, allocations: 3.938 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.3336, allocations: 243.4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.3337, allocations: 19.92 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.3337, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.3341, allocations: 31.91 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.3341, allocations: 11.92 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3341, allocations: 4 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002171/0.3343, allocations: 125 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003823/0.3347, allocations: 43.89 kB / 1.334 GB, free: 9.512 MB / 1.029 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.0001159/0.3348, allocations: 99.25 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.336, allocations: 207.8 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.336, allocations: 0 / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.3364, allocations: 68.3 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3367, allocations: 1.875 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.338, allocations: 251 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.213e-05/0.338, allocations: 79.31 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.3382, allocations: 28.22 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.3383, allocations: 19.41 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3383, allocations: 4 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of Templates: time 0.004713/0.343, allocations: 1.802 MB / 1.337 GB, free: 6.922 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.61134886900254]