Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001219/0.001219, allocations: 91.92 kB / 16.02 MB, free: 80 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.0016/0.0016, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.797/2.797, allocations: 443.2 MB / 0.7181 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 12.16 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 155.2 MB / 1.032 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001759/0.31, allocations: 1.343 MB / 1.033 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006516/0.3107, allocations: 336.3 kB / 1.033 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.3107, allocations: 4 kB / 1.033 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.3108, allocations: 7.922 kB / 1.033 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.3108, allocations: 15.86 kB / 1.033 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.3111, allocations: 67.86 kB / 1.033 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3112, allocations: 103.5 kB / 1.033 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3114, allocations: 31.98 kB / 1.033 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.3115, allocations: 35.84 kB / 1.034 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.3116, allocations: 35.78 kB / 1.034 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3116, allocations: 4 kB / 1.034 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.3117, allocations: 31.98 kB / 1.034 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.3117, allocations: 19.91 kB / 1.034 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.3118, allocations: 65.44 kB / 1.034 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.3119, allocations: 72.08 kB / 1.034 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3119, allocations: 4 kB / 1.034 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3119, allocations: 0 / 1.034 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.3119, allocations: 0 / 1.034 GB, free: 2.59 MB / 0.7794 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.0005074/0.3124, allocations: 391.2 kB / 1.034 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3125, allocations: 8.031 kB / 1.034 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.3139, allocations: 184.6 kB / 1.034 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.314, allocations: 178.9 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.314, allocations: 4.375 kB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3141, allocations: 8.375 kB / 1.034 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.3147, allocations: 194 kB / 1.035 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.3147, allocations: 192 / 1.035 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3147, allocations: 7.922 kB / 1.035 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3147, allocations: 4 kB / 1.035 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009324/0.3157, allocations: 203.8 kB / 1.035 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3169, allocations: 496.2 kB / 1.035 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.318, allocations: 210.4 kB / 1.036 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.3184, allocations: 80.84 kB / 1.036 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3184, allocations: 0 / 1.036 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.3185, allocations: 30.56 kB / 1.036 GB, free: 480 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.415e-06/0.3185, allocations: 0 / 1.036 GB, free: 480 kB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001228/0.3197, allocations: 265.2 kB / 1.036 GB, free: 208 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3197, allocations: 51.41 kB / 1.036 GB, free: 144 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.32, allocations: 188.9 kB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.32, allocations: 25.7 kB / 1.036 GB, free: 15.92 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.3201, allocations: 103.9 kB / 1.036 GB, free: 15.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3201, allocations: 19.83 kB / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.3202, allocations: 9.719 kB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.3203, allocations: 322.8 kB / 1.037 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.3207, allocations: 91.92 kB / 1.037 GB, free: 15.36 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.3212, allocations: 114.5 kB / 1.037 GB, free: 15.24 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.3221, allocations: 182.4 kB / 1.037 GB, free: 15.05 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3221, allocations: 3.938 kB / 1.037 GB, free: 15.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001007/0.3231, allocations: 237.4 kB / 1.037 GB, free: 14.81 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.3232, allocations: 112.2 kB / 1.037 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3232, allocations: 0 / 1.037 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3232, allocations: 4 kB / 1.037 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.3235, allocations: 55.88 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3235, allocations: 4.156 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.3239, allocations: 47.92 kB / 1.037 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.324, allocations: 7.984 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.324, allocations: 4 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003897/0.3244, allocations: 103.9 kB / 1.038 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3244, allocations: 4 kB / 1.038 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.3244, allocations: 0 / 1.038 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3246, allocations: 23.97 kB / 1.038 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3246, allocations: 4 kB / 1.038 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3247, allocations: 31.8 kB / 1.038 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3248, allocations: 8 kB / 1.038 GB, free: 14.4 MB / 0.795 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.0001139/0.3249, allocations: 193 kB / 1.038 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3249, allocations: 15.84 kB / 1.038 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.325, allocations: 8.25 kB / 1.038 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.325, allocations: 4 kB / 1.038 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.325, allocations: 3.938 kB / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.325, allocations: 0 / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3252, allocations: 209.6 kB / 1.038 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3252, allocations: 4 kB / 1.038 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.3255, allocations: 35.95 kB / 1.038 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3255, allocations: 0 / 1.038 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3255, allocations: 3.984 kB / 1.038 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3255, allocations: 4 kB / 1.038 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3255, allocations: 3.938 kB / 1.038 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.3264, allocations: 275.3 kB / 1.038 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.3264, allocations: 97.23 kB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3265, allocations: 3.984 kB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.3268, allocations: 31.97 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.3268, allocations: 15.86 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3268, allocations: 3.984 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001938/0.327, allocations: 149.6 kB / 1.039 GB, free: 13.26 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3271, allocations: 0 / 1.039 GB, free: 13.26 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000343/0.3274, allocations: 36 kB / 1.039 GB, free: 13.23 MB / 0.795 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.0001177/0.3275, allocations: 95.25 kB / 1.039 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.3286, allocations: 236 kB / 1.039 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3286, allocations: 0 / 1.039 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.329, allocations: 79.98 kB / 1.039 GB, free: 12.81 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3293, allocations: 11.98 kB / 1.039 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.3303, allocations: 318.4 kB / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3305, allocations: 0.6965 MB / 1.04 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.3306, allocations: 23.41 kB / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3306, allocations: 0 / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of Templates: time 0.003235/0.3339, allocations: 1.673 MB / 1.042 GB, free: 10.05 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches