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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009845/0.0009845, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001075/0.001075, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003704, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7002, allocations: 142.4 MB / 0.9544 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002327/0.7026, allocations: 1.299 MB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.7034, allocations: 295.3 kB / 0.956 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.7035, allocations: 0 / 0.956 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.7036, allocations: 9.391 kB / 0.956 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.7037, allocations: 13.3 kB / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.7041, allocations: 55.66 kB / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.7043, allocations: 92.98 kB / 0.9562 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.7045, allocations: 34.38 kB / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.7046, allocations: 30.2 kB / 0.9562 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.7047, allocations: 36.62 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.7047, allocations: 3.531 kB / 0.9563 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.7048, allocations: 19.77 kB / 0.9563 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.7048, allocations: 23.75 kB / 0.9563 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.7049, allocations: 38.61 kB / 0.9563 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.7051, allocations: 77.67 kB / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7051, allocations: 0 / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7051, allocations: 1.188 kB / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.7051, allocations: 0 / 0.9564 GB, free: 6.234 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.0006329/0.7058, allocations: 383.8 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7058, allocations: 12.69 kB / 0.9568 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.7075, allocations: 146.7 kB / 0.9569 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.7076, allocations: 166.8 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.7077, allocations: 7.578 kB / 0.9571 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.7077, allocations: 13.38 kB / 0.9571 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.7085, allocations: 159.1 kB / 0.9573 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7086, allocations: 0 / 0.9573 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.7086, allocations: 5.688 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.7086, allocations: 5.266 kB / 0.9573 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.71, allocations: 175.2 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.7114, allocations: 456.1 kB / 0.9579 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.7127, allocations: 154.7 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.7134, allocations: 87.62 kB / 0.9581 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.7134, allocations: 3.984 kB / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.7134, allocations: 36.09 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.7135, allocations: 3.938 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.002088/0.7156, allocations: 270.7 kB / 0.9584 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7156, allocations: 55.41 kB / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.7158, allocations: 153.2 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.7158, allocations: 29.7 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.7159, allocations: 104.2 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.7159, allocations: 14.5 kB / 0.9587 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.716, allocations: 0 / 0.9587 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.716, allocations: 325.5 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.7167, allocations: 81.3 kB / 0.9591 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.7174, allocations: 82.67 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.718, allocations: 71.94 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.718, allocations: 0 / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001357/0.7194, allocations: 212.5 kB / 0.9595 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.7194, allocations: 98.5 kB / 0.9596 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7195, allocations: 0 / 0.9596 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7195, allocations: 5.312 kB / 0.9596 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.72, allocations: 38.92 kB / 0.9596 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.72, allocations: 8.188 kB / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.7204, allocations: 35.06 kB / 0.9597 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.7204, allocations: 18 kB / 0.9597 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.7204, allocations: 3.469 kB / 0.9597 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003727/0.7208, allocations: 78.09 kB / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.7209, allocations: 0 / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-06/0.7209, allocations: 1.125 kB / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.721, allocations: 18.61 kB / 0.9598 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.721, allocations: 1.031 kB / 0.9598 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.7212, allocations: 19.33 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7212, allocations: 1.094 kB / 0.9598 GB, free: 3.582 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.7213, allocations: 192.5 kB / 0.96 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.7214, allocations: 8.969 kB / 0.96 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.7215, allocations: 10.88 kB / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7215, allocations: 0.875 kB / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7215, allocations: 5.094 kB / 0.96 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.7215, allocations: 3.984 kB / 0.96 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.7233, allocations: 0.4907 MB / 0.9605 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.7234, allocations: 1.078 kB / 0.9605 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.7238, allocations: 48.75 kB / 0.9605 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.7238, allocations: 5.109 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.7239, allocations: 2.188 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.7239, allocations: 1.219 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7239, allocations: 1.031 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.7253, allocations: 315.9 kB / 0.9608 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.7254, allocations: 101.1 kB / 0.9609 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.7255, allocations: 6.125 kB / 0.9609 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.726, allocations: 25.75 kB / 0.961 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.726, allocations: 1.781 kB / 0.961 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.7261, allocations: 10.98 kB / 0.961 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001176/0.7262, allocations: 122.3 kB / 0.9611 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.663e-06/0.7262, allocations: 0 / 0.9611 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006013/0.7268, allocations: 38.78 kB / 0.9611 GB, free: 2.426 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.727, allocations: 101.3 kB / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.7286, allocations: 214.1 kB / 0.9614 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7286, allocations: 0 / 0.9614 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.7294, allocations: 89.86 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.7299, allocations: 11.33 kB / 0.9615 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.7316, allocations: 312.9 kB / 0.9618 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.7318, allocations: 0.696 MB / 0.9625 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.732, allocations: 15.55 kB / 0.9625 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.7321, allocations: 17.55 kB / 0.9625 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of SimCode: time 1.603e-06/0.7321, allocations: 3.938 kB / 0.9625 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.006262/0.7384, allocations: 1.262 MB / 0.9638 GB, free: 0.5742 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