Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.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.0009784/0.0009784, allocations: 79.75 kB / 20.08 MB, free: 4.176 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.001085/0.001085, allocations: 156.9 kB / 23.51 MB, free: 0.7539 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.9303/0.9303, allocations: 177.2 MB / 204 MB, free: 5.414 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 2.322/2.322, allocations: 439.8 MB / 0.6839 GB, free: 12.51 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_inv,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_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv,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_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8403 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.298e-05, allocations: 5.547 kB / 0.8403 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv): time 0.001902/0.001925, allocations: 1.482 MB / 0.8417 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002951, allocations: 0.942 MB / 0.8427 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.00299, allocations: 0 / 0.8427 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.00301, allocations: 3.938 kB / 0.8427 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.003083, allocations: 3.938 kB / 0.8427 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.003549, allocations: 262.8 kB / 0.8429 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.003614, allocations: 35.8 kB / 0.8429 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.299e-05/0.003647, allocations: 7.984 kB / 0.843 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.003693, allocations: 15.98 kB / 0.843 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.003732, allocations: 15.92 kB / 0.843 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.003743, allocations: 4 kB / 0.843 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.004277, allocations: 0.5109 MB / 0.8435 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.004292, allocations: 7.875 kB / 0.8435 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.00431, allocations: 12 kB / 0.8435 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.004629, allocations: 346.9 kB / 0.8438 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.004632, allocations: 0 / 0.8438 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004633, allocations: 0 / 0.8438 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004637, allocations: 0 / 0.8438 GB, free: 8.914 MB / 0.8073 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.0003122/0.004949, allocations: 315.6 kB / 0.8441 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.00498, allocations: 8.031 kB / 0.8441 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.005001, allocations: 4.938 kB / 0.8442 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.005088, allocations: 113.8 kB / 0.8443 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005098, allocations: 384 / 0.8443 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.005105, allocations: 4.312 kB / 0.8443 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.228e-05/0.005167, allocations: 34.25 kB / 0.8443 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005177, allocations: 4.188 kB / 0.8443 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.005185, allocations: 8.062 kB / 0.8443 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005189, allocations: 0 / 0.8443 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.364e-05/0.005203, allocations: 4 kB / 0.8443 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.271e-05/0.005276, allocations: 60.98 kB / 0.8444 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.005312, allocations: 26.59 kB / 0.8444 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.005324, allocations: 8.797 kB / 0.8444 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.005338, allocations: 4.062 kB / 0.8444 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005357, allocations: 30.56 kB / 0.8444 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 4.81e-07/0.005358, allocations: 4 kB / 0.8444 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.826e-05/0.005446, allocations: 37.69 kB / 0.8445 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.005474, allocations: 51.41 kB / 0.8445 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.005551, allocations: 133.2 kB / 0.8447 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.005559, allocations: 25.7 kB / 0.8447 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.005588, allocations: 92.09 kB / 0.8448 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.005604, allocations: 7.938 kB / 0.8448 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.005632, allocations: 21.7 kB / 0.8448 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.005706, allocations: 314.8 kB / 0.8451 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.005717, allocations: 11.94 kB / 0.8451 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.005729, allocations: 16.12 kB / 0.8451 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.005763, allocations: 24.78 kB / 0.8451 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005765, allocations: 0 / 0.8451 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.241e-05/0.005828, allocations: 57.62 kB / 0.8452 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.005841, allocations: 8 kB / 0.8452 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.005855, allocations: 0 / 0.8452 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.005864, allocations: 96 / 0.8452 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.006003, allocations: 23.91 kB / 0.8452 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002515/0.006254, allocations: 0.5938 MB / 0.8458 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.006272, allocations: 7.953 kB / 0.8458 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006278, allocations: 8 kB / 0.8458 GB, free: 6.703 MB / 0.8073 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.568e-05/0.006333, allocations: 113.8 kB / 0.8459 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.006339, allocations: 3.938 kB / 0.8459 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.006692, allocations: 49.25 kB / 0.846 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006694, allocations: 0 / 0.846 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.006697, allocations: 8 kB / 0.846 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006699, allocations: 0 / 0.846 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.947e-05/0.006749, allocations: 61.91 kB / 0.846 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.006751, allocations: 4 kB / 0.8461 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.006823, allocations: 16.02 kB / 0.8461 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006825, allocations: 0 / 0.8461 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.006829, allocations: 0 / 0.8461 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001868/0.007016, allocations: 0.5899 MB / 0.8466 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.007018, allocations: 7.984 kB / 0.8467 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.217e-05/0.00706, allocations: 61.02 kB / 0.8467 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.007072, allocations: 3.953 kB / 0.8467 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.00708, allocations: 3.984 kB / 0.8467 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.00709, allocations: 4.094 kB / 0.8467 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.007101, allocations: 4 kB / 0.8467 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.007103, allocations: 0 / 0.8467 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.898e-05/0.007122, allocations: 20.83 kB / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007123, allocations: 0 / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001519/0.007274, allocations: 51.81 kB / 0.8468 GB, free: 5.633 MB / 0.8073 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.0001896/0.007464, allocations: 136.2 kB / 0.8469 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.007582, allocations: 62.42 kB / 0.847 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007584, allocations: 0 / 0.847 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.007606, allocations: 20.84 kB / 0.847 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.007722, allocations: 13.81 kB / 0.847 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.00797, allocations: 132.5 kB / 0.8471 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.007996, allocations: 55.36 kB / 0.8472 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.00802, allocations: 7.984 kB / 0.8472 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.008065, allocations: 63.44 kB / 0.8473 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/0.008065, allocations: 0 / 0.8473 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of Templates: time 0.003196/0.01126, allocations: 1.73 MB / 0.849 GB, free: 3.371 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow_inv.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361690787598491]