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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009832/0.009832, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.002432/0.002432, allocations: 190.1 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 63.91 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.896/0.8973, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002527/0.8999, allocations: 1.619 MB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.9005, allocations: 306.8 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.9005, allocations: 1.094 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.9006, allocations: 10.08 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.9007, allocations: 20.83 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.901, allocations: 67.7 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.9011, allocations: 108.7 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.9013, allocations: 32.77 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.55e-05/0.9014, allocations: 36.94 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.9015, allocations: 49.73 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.9015, allocations: 7.438 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.9016, allocations: 27.27 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.9016, allocations: 22.41 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.9017, allocations: 43.06 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.9019, allocations: 105.1 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9019, allocations: 1.344 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9019, allocations: 0 / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9019, allocations: 0 / 1.09 GB, free: 3.926 MB / 0.8575 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.0005517/0.9024, allocations: 400.8 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.9025, allocations: 9.375 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.9034, allocations: 127 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.9036, allocations: 182.1 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.9036, allocations: 11.62 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.9036, allocations: 5.594 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.9042, allocations: 155.4 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9042, allocations: 0.9844 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.9043, allocations: 4.688 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.9043, allocations: 5.922 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.9053, allocations: 151.2 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.9066, allocations: 442.9 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.9075, allocations: 139.7 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.9079, allocations: 76.72 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.908, allocations: 1.484 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.908, allocations: 35.78 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.908, allocations: 0 / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001281/0.9093, allocations: 239.9 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.9093, allocations: 56.91 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.9095, allocations: 162.5 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.9095, allocations: 30.36 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.9096, allocations: 103 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.9096, allocations: 23.41 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.9097, allocations: 25.56 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.9097, allocations: 324.1 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.9102, allocations: 75.97 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.9105, allocations: 72.91 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.9113, allocations: 135 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9113, allocations: 4.75 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008536/0.9122, allocations: 178.5 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.9122, allocations: 6.359 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9122, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.9122, allocations: 4.781 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.9125, allocations: 51.06 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.9126, allocations: 0.625 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.9128, allocations: 28.91 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.9128, allocations: 5.812 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001619/0.913, allocations: 117.1 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/0.9131, allocations: 55.12 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002241/0.9134, allocations: 83.94 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.704e-06/0.9134, allocations: 4.547 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002794/0.9137, allocations: 106.2 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.9137, allocations: 10.03 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9137, allocations: 2.062 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-06/0.9137, allocations: 1.75 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.9138, allocations: 17.31 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.9138, allocations: 4.938 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.9139, allocations: 7.484 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.9139, allocations: 7.062 kB / 1.094 GB, free: 1.543 MB / 0.8575 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.606e-05/0.914, allocations: 179 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.914, allocations: 12.56 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.9141, allocations: 13.12 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.9141, allocations: 4.719 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9141, allocations: 0.8438 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.9141, allocations: 0.5156 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.9153, allocations: 481 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9153, allocations: 4.625 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.9155, allocations: 36.48 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9155, allocations: 1.406 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.9155, allocations: 8.094 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9155, allocations: 1.562 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.9156, allocations: 1.781 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.9164, allocations: 294.7 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.9165, allocations: 98.69 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.9165, allocations: 2.422 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.9168, allocations: 24.75 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.9168, allocations: 12.38 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.9168, allocations: 8.766 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.668e-05/0.9169, allocations: 119 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9169, allocations: 0 / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003298/0.9173, allocations: 30.12 kB / 1.095 GB, free: 0.5586 MB / 0.8575 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.0001278/0.9174, allocations: 102.3 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009693/0.9184, allocations: 189.6 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9184, allocations: 0.6562 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.9188, allocations: 76.44 kB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.9192, allocations: 13.41 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.9202, allocations: 280.2 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.9205, allocations: 0.6943 MB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.99e-05/0.9206, allocations: 14.33 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.9207, allocations: 19.28 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.9207, allocations: 4 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.005306/0.926, allocations: 1.483 MB / 1.098 GB, free: 15.37 MB / 0.8731 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