Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.001368/0.001368, allocations: 83.67 kB / 20.98 MB, free: 3.32 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.005017/0.005017, allocations: 156.9 kB / 24.44 MB, free: 9.215 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.9168/0.9168, allocations: 177.2 MB / 204.9 MB, free: 5.438 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.285/2.285, allocations: 439.8 MB / 0.6849 GB, free: 12.55 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.InvertingBasicFlowFunction_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.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8412 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.125e-05, allocations: 6.25 kB / 0.8412 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002129/0.00215, allocations: 1.404 MB / 0.8426 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.002937, allocations: 0.5603 MB / 0.8431 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.002966, allocations: 0 / 0.8431 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.002987, allocations: 0 / 0.8431 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.003035, allocations: 3.938 kB / 0.8431 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.003483, allocations: 151.2 kB / 0.8433 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.25e-05/0.003535, allocations: 15.94 kB / 0.8433 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.003575, allocations: 0 / 0.8433 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.003609, allocations: 7.938 kB / 0.8433 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.003655, allocations: 7.984 kB / 0.8433 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.003666, allocations: 0 / 0.8433 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.004051, allocations: 319.3 kB / 0.8436 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.004065, allocations: 3.938 kB / 0.8436 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.004083, allocations: 11.98 kB / 0.8436 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.004288, allocations: 155.5 kB / 0.8438 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00429, allocations: 0 / 0.8438 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004291, allocations: 0 / 0.8438 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.004294, allocations: 0 / 0.8438 GB, free: 10.02 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.0002998/0.004594, allocations: 252.3 kB / 0.844 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.004624, allocations: 8.031 kB / 0.844 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.004646, allocations: 4.938 kB / 0.844 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.048e-05/0.004736, allocations: 105.8 kB / 0.8441 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.004749, allocations: 384 / 0.8441 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.004758, allocations: 384 / 0.8441 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.163e-05/0.00483, allocations: 34.27 kB / 0.8442 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.00484, allocations: 4.188 kB / 0.8442 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.004845, allocations: 384 / 0.8442 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.004854, allocations: 384 / 0.8442 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.004872, allocations: 15.86 kB / 0.8442 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.465e-05/0.004966, allocations: 60.98 kB / 0.8443 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.005015, allocations: 22.59 kB / 0.8443 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.005028, allocations: 8.859 kB / 0.8443 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.005043, allocations: 64 / 0.8443 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.005068, allocations: 34.56 kB / 0.8443 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.005069, allocations: 4 kB / 0.8443 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.691e-05/0.005166, allocations: 41.62 kB / 0.8444 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.005202, allocations: 51.41 kB / 0.8444 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.005265, allocations: 98.72 kB / 0.8445 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.005276, allocations: 25.7 kB / 0.8445 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.005302, allocations: 80.14 kB / 0.8446 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.005328, allocations: 3.953 kB / 0.8446 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.005359, allocations: 21.7 kB / 0.8446 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.005454, allocations: 318.8 kB / 0.8449 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.005462, allocations: 8.188 kB / 0.8449 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.005468, allocations: 4 kB / 0.8449 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.00549, allocations: 8.859 kB / 0.845 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005492, allocations: 3.938 kB / 0.845 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.552e-05/0.005548, allocations: 37.69 kB / 0.845 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005561, allocations: 4 kB / 0.845 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.005566, allocations: 0 / 0.845 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.005576, allocations: 0 / 0.845 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.005709, allocations: 11.98 kB / 0.845 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002991/0.006008, allocations: 0.586 MB / 0.8456 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.006023, allocations: 0 / 0.8456 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.006028, allocations: 0 / 0.8456 GB, free: 8 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 (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 prepare postOptimizeDAE: time 6.195e-05/0.00609, allocations: 109.8 kB / 0.8457 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.006097, allocations: 4 kB / 0.8457 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.006173, allocations: 40.94 kB / 0.8457 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.006175, allocations: 3.938 kB / 0.8457 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006177, allocations: 0 / 0.8457 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006179, allocations: 4.094 kB / 0.8457 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.394e-05/0.006243, allocations: 69.84 kB / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006245, allocations: 0 / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.006305, allocations: 11.98 kB / 0.8458 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.006309, allocations: 0 / 0.8458 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.006313, allocations: 0 / 0.8458 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002241/0.006537, allocations: 0.5859 MB / 0.8464 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006538, allocations: 0 / 0.8464 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.795e-05/0.006586, allocations: 57.12 kB / 0.8464 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.006594, allocations: 8.031 kB / 0.8465 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-06/0.006601, allocations: 4 kB / 0.8465 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.006612, allocations: 7.984 kB / 0.8465 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.006622, allocations: 0 / 0.8465 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.006626, allocations: 7.984 kB / 0.8465 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.979e-06/0.006636, allocations: 12.8 kB / 0.8465 GB, free: 7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006636, allocations: 0 / 0.8465 GB, free: 7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000191/0.006827, allocations: 23.88 kB / 0.8465 GB, free: 6.977 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.0001573/0.006985, allocations: 112.2 kB / 0.8466 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.007068, allocations: 16.95 kB / 0.8466 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.007071, allocations: 0 / 0.8466 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.007098, allocations: 16.84 kB / 0.8466 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.943e-05/0.007158, allocations: 0.6094 kB / 0.8466 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.007406, allocations: 116.5 kB / 0.8468 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.007443, allocations: 55.36 kB / 0.8468 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.007465, allocations: 4.125 kB / 0.8468 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.00749, allocations: 47.38 kB / 0.8469 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.00749, allocations: 0 / 0.8469 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of Templates: time 0.002366/0.009857, allocations: 0.6256 MB / 0.8475 GB, free: 5.969 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_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: 4.9265131149441]