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.001179/0.001179, allocations: 97.78 kB / 16.02 MB, free: 76 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.001719/0.001719, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.359 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.357/2.357, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003582, allocations: 12.23 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.7009, allocations: 142.4 MB / 0.9557 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00153/0.7024, allocations: 1.328 MB / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005897/0.703, allocations: 306.3 kB / 0.9573 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.7031, allocations: 1.312 kB / 0.9573 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.7031, allocations: 7.922 kB / 0.9573 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.7032, allocations: 13.33 kB / 0.9573 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.7035, allocations: 64.94 kB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.7036, allocations: 98.45 kB / 0.9575 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.7037, allocations: 35.66 kB / 0.9575 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.7038, allocations: 29.64 kB / 0.9575 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.7039, allocations: 32.23 kB / 0.9576 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.7039, allocations: 3.531 kB / 0.9576 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.704, allocations: 29.06 kB / 0.9576 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.704, allocations: 18.62 kB / 0.9576 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.704, allocations: 55.7 kB / 0.9577 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.7042, allocations: 80.83 kB / 0.9577 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7042, allocations: 0.8438 kB / 0.9577 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7042, allocations: 0 / 0.9577 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.7042, allocations: 0 / 0.9577 GB, free: 6.059 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.00044/0.7046, allocations: 395.5 kB / 0.9581 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7047, allocations: 10.34 kB / 0.9581 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.7057, allocations: 134.4 kB / 0.9583 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.7058, allocations: 180.6 kB / 0.9584 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.7058, allocations: 3.656 kB / 0.9584 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.7058, allocations: 9 kB / 0.9584 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.7064, allocations: 161 kB / 0.9586 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.7064, allocations: 4.188 kB / 0.9586 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.7064, allocations: 9.031 kB / 0.9586 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7064, allocations: 2.75 kB / 0.9586 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007559/0.7072, allocations: 171.8 kB / 0.9588 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.7081, allocations: 455.5 kB / 0.9592 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.7088, allocations: 165.7 kB / 0.9594 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.7092, allocations: 83.55 kB / 0.9595 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.7093, allocations: 1.406 kB / 0.9595 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.7093, allocations: 39.33 kB / 0.9595 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.542e-06/0.7093, allocations: 0 / 0.9595 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001215/0.7105, allocations: 275.3 kB / 0.9598 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.7105, allocations: 59.34 kB / 0.9598 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.7107, allocations: 155.8 kB / 0.96 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.7107, allocations: 25.7 kB / 0.96 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.7107, allocations: 100.2 kB / 0.9601 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.7108, allocations: 26.33 kB / 0.9601 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.7108, allocations: 15.09 kB / 0.9601 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.7109, allocations: 321.6 kB / 0.9604 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.7112, allocations: 85.23 kB / 0.9605 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.7116, allocations: 78.69 kB / 0.9606 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.7123, allocations: 158.1 kB / 0.9607 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7123, allocations: 0 / 0.9607 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007752/0.7131, allocations: 212.5 kB / 0.9609 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.7131, allocations: 98.28 kB / 0.961 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7131, allocations: 1.312 kB / 0.961 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7131, allocations: 0 / 0.961 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.7134, allocations: 46.52 kB / 0.9611 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7134, allocations: 5.141 kB / 0.9611 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.7136, allocations: 35.12 kB / 0.9611 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.7137, allocations: 1.406 kB / 0.9611 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.7137, allocations: 4.438 kB / 0.9611 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002102/0.7139, allocations: 70.7 kB / 0.9612 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.7139, allocations: 0 / 0.9612 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-06/0.7139, allocations: 0 / 0.9612 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.714, allocations: 27.11 kB / 0.9612 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.714, allocations: 1.219 kB / 0.9612 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.7141, allocations: 15.42 kB / 0.9612 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.7141, allocations: 13.06 kB / 0.9612 GB, free: 3.336 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 7.442e-05/0.7142, allocations: 188.5 kB / 0.9614 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.7142, allocations: 9 kB / 0.9614 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.7143, allocations: 14.59 kB / 0.9614 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7143, allocations: 0.8125 kB / 0.9614 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.7143, allocations: 0.875 kB / 0.9614 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7143, allocations: 7.922 kB / 0.9615 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.7153, allocations: 498.7 kB / 0.9619 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7153, allocations: 0.9688 kB / 0.9619 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.7156, allocations: 48.91 kB / 0.962 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.7156, allocations: 5.062 kB / 0.962 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.7156, allocations: 2.156 kB / 0.962 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7156, allocations: 1.156 kB / 0.962 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7156, allocations: 0.9531 kB / 0.962 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.7164, allocations: 316.2 kB / 0.9623 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.7165, allocations: 101.7 kB / 0.9624 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.7165, allocations: 5.281 kB / 0.9624 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.7168, allocations: 33.78 kB / 0.9624 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.7168, allocations: 1.844 kB / 0.9624 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.7168, allocations: 7.297 kB / 0.9624 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.982e-05/0.7169, allocations: 124.4 kB / 0.9625 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7169, allocations: 0 / 0.9625 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003331/0.7172, allocations: 30.38 kB / 0.9626 GB, free: 2.188 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.0001087/0.7174, allocations: 103.3 kB / 0.9627 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009146/0.7183, allocations: 207.1 kB / 0.9629 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7183, allocations: 0 / 0.9629 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.7187, allocations: 85.73 kB / 0.963 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.719, allocations: 12.38 kB / 0.963 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.72, allocations: 364.5 kB / 0.9633 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.7201, allocations: 0.6916 MB / 0.964 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.7202, allocations: 21.31 kB / 0.964 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7202, allocations: 0 / 0.964 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of Templates: time 0.002766/0.723, allocations: 1.355 MB / 0.9653 GB, free: 264 kB / 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/jenkins1/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