Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 210.4 kB / 23 MB, free: 2.973 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8945/0.8945, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.922/1.922, allocations: 0.5056 GB / 0.8115 GB, free: 1.359 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008724/0.0008724, allocations: 71.89 kB / 1.179 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7402/0.7411, allocations: 180.5 MB / 1.356 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002456/0.7435, allocations: 1.367 MB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.7446, allocations: 0.8363 MB / 1.358 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.7446, allocations: 3.938 kB / 1.358 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.7447, allocations: 3.938 kB / 1.358 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.7448, allocations: 7.922 kB / 1.358 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.7452, allocations: 215 kB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.7453, allocations: 39.8 kB / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.7454, allocations: 0 / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.7454, allocations: 19.92 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.7454, allocations: 19.86 kB / 1.358 GB, free: 12.44 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.7455, allocations: 0 / 1.358 GB, free: 12.44 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.7458, allocations: 375.5 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.7459, allocations: 3.938 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.7459, allocations: 19.92 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.7462, allocations: 266.3 kB / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7462, allocations: 0 / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7462, allocations: 0 / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7462, allocations: 0 / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004089/0.7466, allocations: 337.3 kB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.7466, allocations: 12.03 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.7468, allocations: 20.91 kB / 1.359 GB, free: 11.39 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.747, allocations: 114.4 kB / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.747, allocations: 384 / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.747, allocations: 4.375 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.7471, allocations: 42.25 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7471, allocations: 192 / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.7471, allocations: 7.922 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7471, allocations: 0 / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.7472, allocations: 19.98 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.7473, allocations: 117.3 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.7474, allocations: 42.5 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.7474, allocations: 12.91 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.7475, allocations: 4 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.7475, allocations: 34.56 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7475, allocations: 0 / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.7477, allocations: 73.5 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.7477, allocations: 51.41 kB / 1.36 GB, free: 10.78 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.7478, allocations: 128.6 kB / 1.36 GB, free: 10.64 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.7478, allocations: 29.7 kB / 1.36 GB, free: 10.61 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.7479, allocations: 92.02 kB / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.7479, allocations: 0 / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.7479, allocations: 25.84 kB / 1.36 GB, free: 10.48 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.748, allocations: 322.8 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.748, allocations: 19.98 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.7481, allocations: 19.98 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.7482, allocations: 52.83 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7482, allocations: 0 / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001126/0.7483, allocations: 85.62 kB / 1.36 GB, free: 9.977 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7483, allocations: 8 kB / 1.36 GB, free: 9.969 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.7483, allocations: 0 / 1.36 GB, free: 9.969 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7483, allocations: 11.88 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.7488, allocations: 91.75 kB / 1.36 GB, free: 9.867 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.7499, allocations: 1.377 MB / 1.362 GB, free: 8.387 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.7499, allocations: 7.984 kB / 1.362 GB, free: 8.379 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.75, allocations: 0 / 1.362 GB, free: 8.379 MB / 1.042 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.75, allocations: 127.4 kB / 1.362 GB, free: 8.246 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.75, allocations: 7.938 kB / 1.362 GB, free: 8.238 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-06/0.75, allocations: 7.625 kB / 1.362 GB, free: 8.234 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.75, allocations: 0 / 1.362 GB, free: 8.234 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.75, allocations: 0 / 1.362 GB, free: 8.234 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.75, allocations: 0 / 1.362 GB, free: 8.234 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.808e-05/0.7501, allocations: 109.2 kB / 1.362 GB, free: 8.098 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7501, allocations: 4 kB / 1.362 GB, free: 8.094 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.7506, allocations: 107.8 kB / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.7506, allocations: 0 / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.7506, allocations: 0 / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009865/0.7515, allocations: 1.376 MB / 1.363 GB, free: 6.516 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7515, allocations: 0 / 1.363 GB, free: 6.516 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.926e-05/0.7516, allocations: 81.05 kB / 1.363 GB, free: 6.418 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-06/0.7516, allocations: 16.14 kB / 1.364 GB, free: 6.402 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-06/0.7516, allocations: 0 / 1.364 GB, free: 6.402 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.7517, allocations: 0 / 1.364 GB, free: 6.402 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.7517, allocations: 7.984 kB / 1.364 GB, free: 6.395 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.7517, allocations: 3.938 kB / 1.364 GB, free: 6.391 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003226/0.752, allocations: 95.27 kB / 1.364 GB, free: 6.297 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.752, allocations: 0 / 1.364 GB, free: 6.297 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001596/0.7522, allocations: 23.94 kB / 1.364 GB, free: 6.273 MB / 1.042 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.7523, allocations: 119.1 kB / 1.364 GB, free: 6.145 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.7529, allocations: 149.5 kB / 1.364 GB, free: 5.992 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7529, allocations: 0 / 1.364 GB, free: 5.992 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.7533, allocations: 115.8 kB / 1.364 GB, free: 5.879 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.7535, allocations: 8.094 kB / 1.364 GB, free: 5.871 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.7538, allocations: 171.7 kB / 1.364 GB, free: 5.672 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.7539, allocations: 67.25 kB / 1.364 GB, free: 5.586 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.7539, allocations: 15.38 kB / 1.364 GB, free: 5.57 MB / 1.042 GB Notification: Performance of SimCode: time 6.82e-07/0.7539, allocations: 0 / 1.364 GB, free: 5.57 MB / 1.042 GB Notification: Performance of Templates: time 0.00223/0.7561, allocations: 1.15 MB / 1.365 GB, free: 4.43 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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: 7.676954226568341]