Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 189.8 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.192/3.192, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 66.61 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4083, allocations: 173.6 MB / 1.307 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004342/0.4126, allocations: 2.332 MB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006736/0.4194, allocations: 3.844 MB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.4196, allocations: 7.938 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.4226, allocations: 1.126 MB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000893/0.4235, allocations: 450.3 kB / 1.314 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.4247, allocations: 0.5302 MB / 1.315 GB, free: 9.586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00524/0.4299, allocations: 3.292 MB / 1.318 GB, free: 6.289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.43, allocations: 28.91 kB / 1.318 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.4304, allocations: 235.3 kB / 1.318 GB, free: 6.027 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.4307, allocations: 227.1 kB / 1.319 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.4308, allocations: 20 kB / 1.319 GB, free: 5.785 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.4321, allocations: 0.7525 MB / 1.319 GB, free: 5.031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.4323, allocations: 219.3 kB / 1.319 GB, free: 4.816 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.4326, allocations: 246.6 kB / 1.32 GB, free: 4.574 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4339, allocations: 1.008 MB / 1.321 GB, free: 3.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4339, allocations: 3.984 kB / 1.321 GB, free: 3.559 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4339, allocations: 0 / 1.321 GB, free: 3.559 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.434, allocations: 0 / 1.321 GB, free: 3.559 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001672/0.4356, allocations: 0.8378 MB / 1.322 GB, free: 2.688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4357, allocations: 8.031 kB / 1.322 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.437, allocations: 212.4 kB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.4392, allocations: 0.9142 MB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.4392, allocations: 12 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.4393, allocations: 12 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.4399, allocations: 266.5 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4399, allocations: 0 / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.44, allocations: 4 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.44, allocations: 7.984 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007379/0.4407, allocations: 231.8 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.4422, allocations: 0.8034 MB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.443, allocations: 294.7 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.4434, allocations: 120.7 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.4435, allocations: 8 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.4435, allocations: 34.5 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.4435, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.001397/0.4449, allocations: 452.9 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.4449, allocations: 51.41 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.4459, allocations: 0.746 MB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.4459, allocations: 29.7 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.4461, allocations: 236.8 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.4462, allocations: 31.73 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.4464, allocations: 166 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.4466, allocations: 370.8 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/0.4475, allocations: 443 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009421/0.4484, allocations: 0.5317 MB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.4499, allocations: 0.8819 MB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4499, allocations: 4 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001873/0.4518, allocations: 1.088 MB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4518, allocations: 4 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4518, allocations: 8 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4518, allocations: 4 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.4523, allocations: 107.9 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.4524, allocations: 19.91 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.4528, allocations: 71.53 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.4529, allocations: 28 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008718/0.4537, allocations: 0.552 MB / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007409/0.4545, allocations: 472.5 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001297/0.4558, allocations: 0.7353 MB / 1.331 GB, free: 8.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.4558, allocations: 0 / 1.331 GB, free: 8.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001659/0.4574, allocations: 0.9381 MB / 1.332 GB, free: 7.586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.4574, allocations: 4 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4574, allocations: 4 kB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4575, allocations: 7.984 kB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.4579, allocations: 103.9 kB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4579, allocations: 4 kB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.4583, allocations: 60.36 kB / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.4584, allocations: 24 kB / 1.332 GB, free: 7.383 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001922/0.4586, allocations: 209.2 kB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.4586, allocations: 59.56 kB / 1.333 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.4597, allocations: 350.6 kB / 1.333 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4597, allocations: 0 / 1.333 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4597, allocations: 0 / 1.333 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4597, allocations: 0 / 1.333 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.4603, allocations: 400.1 kB / 1.333 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4603, allocations: 3.984 kB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.4605, allocations: 47.91 kB / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4605, allocations: 0 / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4606, allocations: 0 / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4606, allocations: 4 kB / 1.333 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4606, allocations: 3.984 kB / 1.333 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008968/0.4615, allocations: 423 kB / 1.334 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.4616, allocations: 83.53 kB / 1.334 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.4617, allocations: 8 kB / 1.334 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.462, allocations: 19.97 kB / 1.334 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4621, allocations: 7.984 kB / 1.334 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.4621, allocations: 11.94 kB / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006485/0.4627, allocations: 0.4951 MB / 1.334 GB, free: 5.219 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4627, allocations: 4 kB / 1.334 GB, free: 5.215 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009961/0.4637, allocations: 323.5 kB / 1.335 GB, free: 4.898 MB / 1.029 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 (11): * Single equations (assignments): 11 * 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.0008013/0.4645, allocations: 371.9 kB / 1.335 GB, free: 4.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.4666, allocations: 1.041 MB / 1.336 GB, free: 3.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4666, allocations: 192 / 1.336 GB, free: 3.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.467, allocations: 127.8 kB / 1.336 GB, free: 3.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/0.4679, allocations: 219.4 kB / 1.336 GB, free: 3.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.4701, allocations: 0.9816 MB / 1.337 GB, free: 2.141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.4707, allocations: 0.9012 MB / 1.338 GB, free: 1.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006318/0.4713, allocations: 184.2 kB / 1.338 GB, free: 1.027 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.4715, allocations: 59.39 kB / 1.338 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/0.4715, allocations: 0 / 1.338 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of Templates: time 0.02337/0.4949, allocations: 12.48 MB / 1.351 GB, free: 4.625 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.644591133110225]