Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0009729/0.0009729, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001182/0.001182, allocations: 173 kB / 23.5 MB, free: 1.051 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 1.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.117/2.117, allocations: 429.5 MB / 0.6736 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.564e-05, allocations: 5.641 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001929/0.001955, allocations: 1.326 MB / 0.8795 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.002661, allocations: 0.5592 MB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.002685, allocations: 0.5938 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.002703, allocations: 3.625 kB / 0.8801 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.002745, allocations: 4 kB / 0.8801 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.003206, allocations: 143.2 kB / 0.8802 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.003258, allocations: 15.92 kB / 0.8802 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.003298, allocations: 7.984 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.74e-05/0.003325, allocations: 4 kB / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.003372, allocations: 4 kB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003385, allocations: 0.625 kB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.003733, allocations: 267.4 kB / 0.8805 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.003754, allocations: 0.5938 kB / 0.8805 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.003783, allocations: 4.688 kB / 0.8805 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.004013, allocations: 151.5 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004015, allocations: 4.906 kB / 0.8806 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004015, allocations: 0 / 0.8806 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.00402, allocations: 0 / 0.8806 GB, free: 4.16 MB / 0.8386 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.000467/0.004487, allocations: 381.2 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.004523, allocations: 8.031 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.004558, allocations: 2.094 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.004641, allocations: 108.6 kB / 0.8811 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.00465, allocations: 384 / 0.8811 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.004657, allocations: 1.906 kB / 0.8811 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.268e-05/0.00473, allocations: 38.19 kB / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.004736, allocations: 192 / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.004745, allocations: 1.25 kB / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.004754, allocations: 384 / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.004775, allocations: 7.938 kB / 0.8812 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.004916, allocations: 117.5 kB / 0.8813 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.893e-05/0.004965, allocations: 35.05 kB / 0.8813 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.004985, allocations: 11.69 kB / 0.8813 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.005004, allocations: 4.062 kB / 0.8813 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.005023, allocations: 37.39 kB / 0.8814 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005024, allocations: 0 / 0.8814 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.00012/0.005144, allocations: 37.64 kB / 0.8814 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.005173, allocations: 51.41 kB / 0.8814 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.005239, allocations: 165.9 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.005248, allocations: 25.7 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.005278, allocations: 127.1 kB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.005303, allocations: 15.89 kB / 0.8818 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.005329, allocations: 19.38 kB / 0.8818 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.005435, allocations: 496.1 kB / 0.8822 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.005445, allocations: 0 / 0.8822 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-06/0.005452, allocations: 3.984 kB / 0.8823 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.005476, allocations: 15.69 kB / 0.8823 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005478, allocations: 0 / 0.8823 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.52e-05/0.005523, allocations: 41.64 kB / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005535, allocations: 4 kB / 0.8823 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005539, allocations: 4.094 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.00555, allocations: 0 / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.005672, allocations: 15.98 kB / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003215/0.005994, allocations: 0.8971 MB / 0.8832 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.006006, allocations: 0 / 0.8832 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.006011, allocations: 4 kB / 0.8832 GB, free: 1.289 MB / 0.8386 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.581e-05/0.006077, allocations: 152.6 kB / 0.8834 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.006086, allocations: 15.84 kB / 0.8834 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.006167, allocations: 45.08 kB / 0.8834 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.00617, allocations: 4 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.006174, allocations: 0 / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006177, allocations: 3.938 kB / 0.8834 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.849e-05/0.006245, allocations: 112.6 kB / 0.8835 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006247, allocations: 4 kB / 0.8835 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.006295, allocations: 7.984 kB / 0.8835 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.006298, allocations: 4 kB / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.006304, allocations: 3.938 kB / 0.8835 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002639/0.006567, allocations: 0.8972 MB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006569, allocations: 0 / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.332e-05/0.006622, allocations: 80.38 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.006629, allocations: 3.953 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.006637, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.006644, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.006656, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.006658, allocations: 4 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.006688, allocations: 119.2 kB / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006688, allocations: 192 / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001409/0.006829, allocations: 15.94 kB / 0.8846 GB, free: 15.72 MB / 0.8542 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.0001455/0.006975, allocations: 103.2 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.007124, allocations: 35.61 kB / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007125, allocations: 0 / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.007171, allocations: 19.67 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.00729, allocations: 10.56 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.007596, allocations: 109 kB / 0.8849 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.007628, allocations: 55.22 kB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.007644, allocations: 7.938 kB / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.00766, allocations: 8.5 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.007661, allocations: 0 / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.00239/0.01005, allocations: 497.2 kB / 0.8854 GB, free: 14.88 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.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.421735757030547]