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.001425/0.001425, allocations: 108.3 kB / 19.71 MB, free: 436 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.001568/0.001568, allocations: 206.8 kB / 23 MB, free: 2.969 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 1.024/1.024, 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 2.473/2.473, allocations: 0.5701 GB / 0.876 GB, free: 16.5 MB / 0.6667 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 0.001336/0.001336, allocations: 72.64 kB / 1.275 GB, free: 14 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 196.8 MB / 1.467 GB, free: 3.684 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv): time 0.002115/0.3273, allocations: 1.379 MB / 1.468 GB, free: 2.293 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.3283, allocations: 0.8857 MB / 1.469 GB, free: 1.402 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.3284, allocations: 0 / 1.469 GB, free: 1.402 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.3284, allocations: 7.922 kB / 1.469 GB, free: 1.395 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.3285, allocations: 7.875 kB / 1.469 GB, free: 1.387 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.3291, allocations: 274.9 kB / 1.47 GB, free: 1.117 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.3292, allocations: 31.86 kB / 1.47 GB, free: 1.086 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.3292, allocations: 15.88 kB / 1.47 GB, free: 1.07 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.3293, allocations: 19.92 kB / 1.47 GB, free: 1.051 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.3293, allocations: 11.92 kB / 1.47 GB, free: 1.039 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3293, allocations: 4 kB / 1.47 GB, free: 1.035 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.3299, allocations: 499.3 kB / 1.47 GB, free: 0.5469 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3299, allocations: 3.938 kB / 1.47 GB, free: 0.543 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.3299, allocations: 19.94 kB / 1.47 GB, free: 0.5234 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.3302, allocations: 283.3 kB / 1.47 GB, free: 252 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3302, allocations: 4 kB / 1.47 GB, free: 248 kB / 1.135 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3302, allocations: 3.938 kB / 1.47 GB, free: 244 kB / 1.135 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3303, allocations: 0 / 1.47 GB, free: 244 kB / 1.135 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.0004214/0.3307, allocations: 349.2 kB / 1.471 GB, free: 15.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3307, allocations: 15.98 kB / 1.471 GB, free: 15.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.3307, allocations: 0.9375 kB / 1.471 GB, free: 15.85 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3309, allocations: 122.4 kB / 1.471 GB, free: 15.71 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3309, allocations: 4.312 kB / 1.471 GB, free: 15.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3309, allocations: 4.375 kB / 1.471 GB, free: 15.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.331, allocations: 41.81 kB / 1.471 GB, free: 15.65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.331, allocations: 0 / 1.471 GB, free: 15.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.331, allocations: 0 / 1.471 GB, free: 15.65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.331, allocations: 0 / 1.471 GB, free: 15.65 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.331, allocations: 8 kB / 1.471 GB, free: 15.64 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.3311, allocations: 113.3 kB / 1.471 GB, free: 15.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.3312, allocations: 26.52 kB / 1.471 GB, free: 15.47 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.3312, allocations: 8.922 kB / 1.471 GB, free: 15.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3312, allocations: 4 kB / 1.471 GB, free: 15.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3312, allocations: 38.55 kB / 1.471 GB, free: 15.41 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.3312, allocations: 0 / 1.471 GB, free: 15.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.3314, allocations: 49.59 kB / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.3314, allocations: 55.41 kB / 1.471 GB, free: 15.29 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.3315, allocations: 128.5 kB / 1.471 GB, free: 15.15 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3315, allocations: 25.7 kB / 1.471 GB, free: 15.12 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.3315, allocations: 88.09 kB / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.3316, allocations: 7.953 kB / 1.471 GB, free: 15.02 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.3316, allocations: 25.7 kB / 1.472 GB, free: 14.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.3317, allocations: 322.8 kB / 1.472 GB, free: 14.67 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.3317, allocations: 16.12 kB / 1.472 GB, free: 14.65 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.3317, allocations: 23.94 kB / 1.472 GB, free: 14.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.3318, allocations: 44.78 kB / 1.472 GB, free: 14.58 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3318, allocations: 0 / 1.472 GB, free: 14.58 MB / 1.151 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.306e-05/0.3318, allocations: 81.73 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3319, allocations: 7.938 kB / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.3319, allocations: 4 kB / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3319, allocations: 0 / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.332, allocations: 23.98 kB / 1.472 GB, free: 14.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002834/0.3323, allocations: 0.6015 MB / 1.473 GB, free: 13.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.3323, allocations: 15.98 kB / 1.473 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.3324, allocations: 4.031 kB / 1.473 GB, free: 13.82 MB / 1.151 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.081e-05/0.3324, allocations: 113.7 kB / 1.473 GB, free: 13.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.3324, allocations: 0 / 1.473 GB, free: 13.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.647e-05/0.3325, allocations: 57.25 kB / 1.473 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3325, allocations: 0 / 1.473 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3325, allocations: 0 / 1.473 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3325, allocations: 3.938 kB / 1.473 GB, free: 13.62 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.53e-05/0.3326, allocations: 121.1 kB / 1.473 GB, free: 13.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3326, allocations: 4.031 kB / 1.473 GB, free: 13.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.3326, allocations: 19.98 kB / 1.473 GB, free: 13.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3326, allocations: 0 / 1.473 GB, free: 13.45 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3326, allocations: 0 / 1.473 GB, free: 13.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002116/0.3329, allocations: 0.5938 MB / 1.474 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3329, allocations: 4.031 kB / 1.474 GB, free: 12.83 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.196e-05/0.3329, allocations: 76.95 kB / 1.474 GB, free: 12.74 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.3329, allocations: 3.953 kB / 1.474 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.3329, allocations: 4 kB / 1.474 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.333, allocations: 4.125 kB / 1.474 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.333, allocations: 3.938 kB / 1.474 GB, free: 12.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.333, allocations: 0 / 1.474 GB, free: 12.72 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.333, allocations: 95.27 kB / 1.474 GB, free: 12.63 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.11e-07/0.333, allocations: 0 / 1.474 GB, free: 12.63 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001662/0.3332, allocations: 43.86 kB / 1.474 GB, free: 12.59 MB / 1.151 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.0001756/0.3334, allocations: 131.1 kB / 1.474 GB, free: 12.45 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.3335, allocations: 81.61 kB / 1.474 GB, free: 12.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3335, allocations: 0 / 1.474 GB, free: 12.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.3336, allocations: 20 kB / 1.474 GB, free: 12.34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.3337, allocations: 11.98 kB / 1.474 GB, free: 12.33 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.334, allocations: 167.7 kB / 1.474 GB, free: 12.14 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.3341, allocations: 63.34 kB / 1.474 GB, free: 12.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.3341, allocations: 7.438 kB / 1.474 GB, free: 12.05 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/0.3341, allocations: 0 / 1.474 GB, free: 12.05 MB / 1.151 GB Notification: Performance of Templates: time 0.002356/0.3365, allocations: 1.304 MB / 1.475 GB, free: 10.75 MB / 1.151 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 -emit_protected > 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: 8.253805509768426]