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.001027/0.001027, allocations: 104.5 kB / 16.36 MB, free: 6.266 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.00108/0.00108, allocations: 193.1 kB / 17.3 MB, free: 5.848 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.497/2.497, allocations: 442.6 MB / 0.7166 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.44 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2791, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002621/0.2818, allocations: 1.636 MB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.2824, allocations: 343.8 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.2824, allocations: 4 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.2825, allocations: 7.922 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.2826, allocations: 15.8 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.2829, allocations: 83.78 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.283, allocations: 107.5 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2831, allocations: 35.97 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.2832, allocations: 39.84 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.2833, allocations: 47.78 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2833, allocations: 8 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.2834, allocations: 31.97 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.2834, allocations: 27.91 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.2835, allocations: 39.8 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2836, allocations: 111.6 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2836, allocations: 0 / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2836, allocations: 3.984 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2837, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 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.0005014/0.2842, allocations: 399.2 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2842, allocations: 8.031 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.2855, allocations: 176.5 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2856, allocations: 176.2 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2857, allocations: 8.375 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.2857, allocations: 4.375 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.2863, allocations: 178 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2863, allocations: 192 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2863, allocations: 11.88 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2863, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008949/0.2872, allocations: 182.3 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2884, allocations: 476.2 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2894, allocations: 186.4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.2898, allocations: 68.84 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2898, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2898, allocations: 38.56 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2898, allocations: 3.938 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001117/0.291, allocations: 221.5 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.291, allocations: 55.41 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.2912, allocations: 195.8 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2913, allocations: 25.7 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.2913, allocations: 107.9 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.2914, allocations: 11.89 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.2914, allocations: 25.69 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2915, allocations: 322.8 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.292, allocations: 88.77 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.2924, allocations: 106.5 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.2932, allocations: 158.4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2932, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009635/0.2942, allocations: 217.4 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2942, allocations: 8 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2942, allocations: 3.938 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2942, allocations: 3.938 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.2946, allocations: 51.88 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2946, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2949, allocations: 43.8 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.295, allocations: 7.984 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000208/0.2952, allocations: 120.1 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001971/0.2954, allocations: 82.28 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002503/0.2957, allocations: 93.91 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.2957, allocations: 7.938 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004214/0.2961, allocations: 141.4 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.2961, allocations: 8 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.2961, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-06/0.2961, allocations: 4 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2963, allocations: 24.19 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2963, allocations: 7.938 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.2965, allocations: 23.92 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2966, allocations: 7.984 kB / 1.033 GB, free: 11.2 MB / 0.8106 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 9.432e-05/0.2967, allocations: 184.2 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.2967, allocations: 11.84 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.2968, allocations: 16.25 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2968, allocations: 3.938 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2968, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.2969, allocations: 100.9 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2969, allocations: 0 / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.2972, allocations: 35.95 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.2972, allocations: 64 / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001052/0.2983, allocations: 256.8 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001171/0.2995, allocations: 338.5 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005222/0.3, allocations: 63.92 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002446/0.3003, allocations: 146.3 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of Backend: time 7.41e-07/0.3003, allocations: 4 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.3013, allocations: 230.4 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0006156/0.3019, allocations: 0.6217 MB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of Templates: time 0.005239/0.3072, allocations: 2.736 MB / 1.038 GB, free: 6.379 MB / 0.8106 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