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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001541/0.001542, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.001362/0.001362, allocations: 187 kB / 17.34 MB, free: 5.742 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.819, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003238/0.8222, allocations: 1.63 MB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007706/0.823, allocations: 342.9 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.8231, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.8232, allocations: 11.86 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.116e-05/0.8233, allocations: 15.86 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.8236, allocations: 75.8 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.8238, allocations: 115.6 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.8239, allocations: 35.94 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.824, allocations: 35.86 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.8241, allocations: 43.83 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.8242, allocations: 8 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.8243, allocations: 43.97 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.8243, allocations: 19.92 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.8244, allocations: 51.72 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.8245, allocations: 107.4 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8246, allocations: 4 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8246, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.8246, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 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.0005784/0.8252, allocations: 405 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.8252, allocations: 12.03 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.8267, allocations: 160.6 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.8268, allocations: 172.2 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.8268, allocations: 12.31 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.8269, allocations: 8.312 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.8275, allocations: 175.9 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.8276, allocations: 192 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.8276, allocations: 7.938 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.8276, allocations: 8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009626/0.8286, allocations: 183.8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.8298, allocations: 480.2 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.831, allocations: 182.4 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.8314, allocations: 72.78 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.8314, allocations: 4 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.8315, allocations: 34.5 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.8315, allocations: 0 / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.001249/0.8327, allocations: 229.4 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.8328, allocations: 51.41 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.8331, allocations: 187.1 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.8331, allocations: 29.7 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.8332, allocations: 111.9 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.8332, allocations: 3.906 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.8333, allocations: 33.69 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8334, allocations: 322.8 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.8339, allocations: 84.78 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.8344, allocations: 106.4 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/0.8352, allocations: 154.4 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8353, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001039/0.8363, allocations: 225.4 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8363, allocations: 4 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8363, allocations: 4 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8364, allocations: 3.938 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.8367, allocations: 47.88 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8367, allocations: 0 / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.8371, allocations: 47.8 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.8372, allocations: 11.98 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002351/0.8374, allocations: 119.6 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001947/0.8376, allocations: 77.97 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002831/0.8379, allocations: 105.8 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.8379, allocations: 0 / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004599/0.8384, allocations: 137.4 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.8384, allocations: 4 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.8384, allocations: 4 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-06/0.8384, allocations: 0 / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.8386, allocations: 36.12 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.8386, allocations: 7.938 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.8389, allocations: 27.81 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.8389, allocations: 4 kB / 1.215 GB, free: 6.777 MB / 0.9356 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.0001061/0.839, allocations: 180.2 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.8391, allocations: 15.91 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.8391, allocations: 12.19 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8392, allocations: 7.984 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8392, allocations: 0 / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.8392, allocations: 0 / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.8394, allocations: 201.6 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8394, allocations: 4 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.8397, allocations: 35.94 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8397, allocations: 0 / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.8397, allocations: 3.938 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8397, allocations: 0 / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8397, allocations: 0 / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.8405, allocations: 263.2 kB / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.8407, allocations: 96.98 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.8407, allocations: 3.938 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.841, allocations: 36.03 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.8411, allocations: 3.984 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.8411, allocations: 240 / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001963/0.8413, allocations: 143.2 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8413, allocations: 0 / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000365/0.8417, allocations: 32 kB / 1.216 GB, free: 5.66 MB / 0.9356 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.000122/0.8418, allocations: 115.2 kB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.843, allocations: 212 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.843, allocations: 0 / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.8434, allocations: 68.17 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.8437, allocations: 4 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.8447, allocations: 279.1 kB / 1.216 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.845, allocations: 0.6963 MB / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8451, allocations: 31.41 kB / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8451, allocations: 0 / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of Templates: time 0.003678/0.8488, allocations: 1.7 MB / 1.219 GB, free: 2.508 MB / 0.9356 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