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.0008286/0.0008286, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007834/0.0007834, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8532/0.8532, allocations: 177.1 MB / 203.5 MB, free: 5.41 MB / 186.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.716/1.716, allocations: 390.1 MB / 0.6348 GB, free: 11.61 MB / 0.6042 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 1.593e-06/1.593e-06, allocations: 0 / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.296e-05, allocations: 2.281 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001608/0.001631, allocations: 1.363 MB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009364/0.002567, allocations: 0.8451 MB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.002608, allocations: 0 / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.002627, allocations: 3.938 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.002721, allocations: 11.91 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.003329, allocations: 218.3 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.003409, allocations: 43.8 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.003446, allocations: 3.984 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.003492, allocations: 15.98 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.003535, allocations: 19.92 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.003548, allocations: 4 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.003918, allocations: 371.5 kB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.003935, allocations: 7.938 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.003962, allocations: 15.92 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.004266, allocations: 291.2 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004269, allocations: 4 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00427, allocations: 0 / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.004274, allocations: 3.938 kB / 1.006 GB, free: 7.742 MB / 0.9636 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.0003924/0.004667, allocations: 337.3 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.004709, allocations: 16.03 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.004888, allocations: 16.92 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.00501, allocations: 121.7 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.005028, allocations: 4.375 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.005038, allocations: 4.375 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.00514, allocations: 38.25 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.00515, allocations: 192 / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.00516, allocations: 384 / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005165, allocations: 384 / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.005226, allocations: 35.84 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.005352, allocations: 113.3 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.18e-05/0.005444, allocations: 34.56 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.00548, allocations: 16.91 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.005494, allocations: 0 / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.00551, allocations: 34.5 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.005511, allocations: 4 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.005706, allocations: 69.69 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.005732, allocations: 55.41 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.005812, allocations: 126 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.005821, allocations: 29.7 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.005854, allocations: 88.09 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.005873, allocations: 11.88 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.005901, allocations: 21.72 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.005978, allocations: 322.8 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.00603, allocations: 19.98 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.006065, allocations: 23.92 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.006147, allocations: 52.78 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006149, allocations: 0 / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001095/0.006259, allocations: 85.61 kB / 1.007 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.006271, allocations: 4 kB / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.006287, allocations: 4 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.0063, allocations: 0 / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.006723, allocations: 83.88 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.007859, allocations: 1.376 MB / 1.009 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.007884, allocations: 11.92 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.007892, allocations: 0 / 1.009 GB, free: 4.336 MB / 0.9636 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 5.949e-05/0.007952, allocations: 113.8 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.00796, allocations: 7.891 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-06/0.007969, allocations: 11.61 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.007971, allocations: 4.078 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007972, allocations: 4 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.007975, allocations: 96 / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.634e-05/0.008031, allocations: 113.3 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.008034, allocations: 7.938 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.008464, allocations: 99.86 kB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.008465, allocations: 4 kB / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.008472, allocations: 3.938 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.009429, allocations: 1.376 MB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00943, allocations: 0 / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.04e-05/0.00952, allocations: 92.97 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-06/0.009524, allocations: 4 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-06/0.009528, allocations: 0 / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.688e-05/0.009545, allocations: 0 / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.009568, allocations: 7.984 kB / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.009572, allocations: 0 / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.00961, allocations: 98.52 kB / 1.011 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00961, allocations: 3.938 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001634/0.009774, allocations: 24 kB / 1.011 GB, free: 2.219 MB / 0.9636 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.0001342/0.009908, allocations: 111.7 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.01042, allocations: 153.5 kB / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01042, allocations: 0 / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.01086, allocations: 119.8 kB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.01103, allocations: 17.7 kB / 1.011 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.01134, allocations: 158.5 kB / 1.011 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.034e-05/0.01138, allocations: 67.28 kB / 1.011 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.0114, allocations: 8.5 kB / 1.011 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of SimCode: time 3.21e-07/0.0114, allocations: 4.062 kB / 1.011 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of Templates: time 0.002178/0.01358, allocations: 1.149 MB / 1.013 GB, free: 392 kB / 0.9636 GB " [Timeout remaining time 300] 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: 6.598480058833957]