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.001502/0.001502, 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.001692/0.001692, allocations: 196.8 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.366/1.366, 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 9.1.2-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6825, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002843/0.6854, allocations: 1.671 MB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000688/0.6861, allocations: 311.5 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.6862, allocations: 0 / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.6863, allocations: 9.312 kB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.6864, allocations: 17.22 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.6867, allocations: 56.44 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.6869, allocations: 102.3 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.687, allocations: 36.28 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.6871, allocations: 31.05 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.6872, allocations: 49.52 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.6872, allocations: 4.125 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.6873, allocations: 27.09 kB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.6873, allocations: 14.67 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.6874, allocations: 36.34 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.6875, allocations: 76.91 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6875, allocations: 0 / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6875, allocations: 0 / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.6875, allocations: 5.656 kB / 0.952 GB, free: 7.312 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.0005398/0.6881, allocations: 404.3 kB / 0.9523 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.6881, allocations: 9.156 kB / 0.9524 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.6892, allocations: 124.8 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.6893, allocations: 176.9 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.6893, allocations: 7.047 kB / 0.9526 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.6894, allocations: 8.938 kB / 0.9527 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.6899, allocations: 152.7 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6899, allocations: 5.531 kB / 0.9528 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.6899, allocations: 7.938 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.6899, allocations: 2.906 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.6907, allocations: 150.5 kB / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.6917, allocations: 445.6 kB / 0.9534 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.6923, allocations: 139.4 kB / 0.9535 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.6927, allocations: 80.19 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.6927, allocations: 1.312 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.6927, allocations: 35.81 kB / 0.9536 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.6928, allocations: 0 / 0.9536 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001186/0.6939, allocations: 243.7 kB / 0.9539 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.694, allocations: 55.34 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.6942, allocations: 159.1 kB / 0.9541 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.6942, allocations: 25.7 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.6942, allocations: 104.1 kB / 0.9542 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.6943, allocations: 18.64 kB / 0.9542 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.6943, allocations: 28.48 kB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.6944, allocations: 320.2 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.6948, allocations: 81.94 kB / 0.9546 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.6952, allocations: 67.39 kB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.6959, allocations: 136.5 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6959, allocations: 1.469 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007863/0.6967, allocations: 187.6 kB / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6967, allocations: 7.094 kB / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6967, allocations: 3.938 kB / 0.955 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6968, allocations: 1.375 kB / 0.955 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.697, allocations: 41.16 kB / 0.955 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.697, allocations: 0 / 0.955 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.6973, allocations: 34.03 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.6973, allocations: 9.984 kB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001225/0.6974, allocations: 107.6 kB / 0.9552 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.625e-05/0.6975, allocations: 60.39 kB / 0.9552 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001607/0.6977, allocations: 78.17 kB / 0.9553 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.6977, allocations: 4 kB / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002343/0.6979, allocations: 109.4 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.698, allocations: 4.844 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.698, allocations: 1.156 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-06/0.698, allocations: 2.438 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.6981, allocations: 21.7 kB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.6981, allocations: 5.891 kB / 0.9555 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.6981, allocations: 12.19 kB / 0.9555 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.6982, allocations: 3.625 kB / 0.9555 GB, free: 4.414 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 6.671e-05/0.6982, allocations: 181.4 kB / 0.9557 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.6983, allocations: 12.25 kB / 0.9557 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.6983, allocations: 12 kB / 0.9557 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6983, allocations: 3.938 kB / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6984, allocations: 5.375 kB / 0.9557 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6984, allocations: 0 / 0.9557 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.6993, allocations: 478.6 kB / 0.9561 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6994, allocations: 3.938 kB / 0.9561 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.6996, allocations: 36.52 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6996, allocations: 3.938 kB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.6996, allocations: 10.27 kB / 0.9562 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6996, allocations: 1.406 kB / 0.9562 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6996, allocations: 1.375 kB / 0.9562 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.7004, allocations: 283.3 kB / 0.9565 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.7004, allocations: 101 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.7005, allocations: 1.484 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.7007, allocations: 27.95 kB / 0.9566 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.7007, allocations: 7.453 kB / 0.9566 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.7007, allocations: 6.312 kB / 0.9566 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.7008, allocations: 128 kB / 0.9567 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7008, allocations: 0 / 0.9567 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003227/0.7012, allocations: 29.78 kB / 0.9568 GB, free: 3.277 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.0001001/0.7013, allocations: 109.3 kB / 0.9569 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008141/0.7021, allocations: 182.8 kB / 0.957 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7021, allocations: 8 kB / 0.957 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.7025, allocations: 78.03 kB / 0.9571 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.7028, allocations: 15.91 kB / 0.9571 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.7038, allocations: 320.8 kB / 0.9574 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.7039, allocations: 0.6964 MB / 0.9581 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.704, allocations: 20.81 kB / 0.9581 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of SimCode: time 1.343e-06/0.704, allocations: 0 / 0.9581 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.002891/0.7069, allocations: 1.354 MB / 0.9595 GB, free: 1.359 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/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