Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.0008493/0.0008493, 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.0007733/0.0007733, 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.8769/0.8769, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.619/1.619, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.661e-05, allocations: 6.219 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001886/0.001912, allocations: 1.287 MB / 0.953 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.002757, allocations: 0.5259 MB / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.002791, allocations: 0 / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.002815, allocations: 3.984 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.002864, allocations: 3.938 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.003433, allocations: 141.4 kB / 0.9536 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.003504, allocations: 15.92 kB / 0.9536 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.003564, allocations: 4 kB / 0.9536 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.003604, allocations: 0 / 0.9536 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.003663, allocations: 11.92 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003681, allocations: 0 / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.004017, allocations: 271.4 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.004033, allocations: 0 / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.004052, allocations: 0 / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.004281, allocations: 151.5 kB / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004284, allocations: 0 / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.044e-06/0.004286, allocations: 0 / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.004292, allocations: 4 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 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.0004096/0.004701, allocations: 278 kB / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.004746, allocations: 15.97 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.004784, allocations: 4.922 kB / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.559e-05/0.00488, allocations: 101.8 kB / 0.9544 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.004893, allocations: 4.375 kB / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.004903, allocations: 384 / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.005014, allocations: 34.27 kB / 0.9545 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.005024, allocations: 192 / 0.9545 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.005036, allocations: 384 / 0.9545 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.005044, allocations: 4.375 kB / 0.9545 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.00507, allocations: 7.938 kB / 0.9545 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.005228, allocations: 109.3 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.005288, allocations: 22.52 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.005307, allocations: 4.859 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.005334, allocations: 4.062 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.005363, allocations: 34.56 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.005364, allocations: 0 / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001574/0.005521, allocations: 37.69 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.00556, allocations: 67.41 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.005619, allocations: 97.8 kB / 0.9549 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.00563, allocations: 25.7 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.005659, allocations: 84.14 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.005687, allocations: 3.953 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.005713, allocations: 17.7 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.005803, allocations: 314.8 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.005814, allocations: 0 / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.005822, allocations: 4 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.005849, allocations: 17.05 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005851, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.747e-05/0.005899, allocations: 37.69 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.005913, allocations: 11.94 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.00592, allocations: 0 / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.005936, allocations: 0 / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.0061, allocations: 11.94 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00069/0.00679, allocations: 0.5937 MB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.006805, allocations: 0 / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.006812, allocations: 4.156 kB / 0.9559 GB, free: 14.43 MB / 0.9167 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 7.158e-05/0.006884, allocations: 116.3 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-06/0.00689, allocations: 7.922 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/0.006989, allocations: 48.94 kB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.006992, allocations: 4 kB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.006996, allocations: 0 / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.006999, allocations: 0 / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.609e-05/0.007065, allocations: 97.27 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007066, allocations: 4 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.007119, allocations: 16.02 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007122, allocations: 0 / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.00713, allocations: 3.938 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002213/0.007351, allocations: 0.5782 MB / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007352, allocations: 0 / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.229e-05/0.007415, allocations: 76.98 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.007423, allocations: 0 / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.007435, allocations: 0 / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.007441, allocations: 0 / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.007461, allocations: 12.06 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.007463, allocations: 4 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.007494, allocations: 79.27 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007494, allocations: 0 / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001416/0.007636, allocations: 8 kB / 0.957 GB, free: 13.29 MB / 0.9167 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.0001534/0.007789, allocations: 115.1 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.007934, allocations: 23.92 kB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.007936, allocations: 0 / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.007967, allocations: 16.16 kB / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.008085, allocations: 3.938 kB / 0.9571 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.008419, allocations: 129.5 kB / 0.9572 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.008461, allocations: 59.34 kB / 0.9573 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.008478, allocations: 8.5 kB / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.008478, allocations: 0 / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of Templates: time 0.001922/0.0104, allocations: 0.7129 MB / 0.958 GB, free: 12.17 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.557808680459857]