Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00166/0.00166, allocations: 111.7 kB / 17.13 MB, free: 5.926 MB / 14.72 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.002021/0.002021, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.795/2.795, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 75.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.9241, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001942/0.926, allocations: 1.279 MB / 1.323 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.9268, allocations: 0.5823 MB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.9268, allocations: 3.938 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.9268, allocations: 0 / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.9268, allocations: 6.438 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.9273, allocations: 139.4 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.9273, allocations: 9.344 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.9274, allocations: 2.938 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.9274, allocations: 6.594 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.9274, allocations: 13.67 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.9274, allocations: 0 / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.9278, allocations: 338 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.9278, allocations: 0 / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.9279, allocations: 14.39 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.9281, allocations: 135.8 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9281, allocations: 0 / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9281, allocations: 0 / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.9281, allocations: 0 / 1.324 GB, free: 23.53 MB / 1.061 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.0002877/0.9284, allocations: 357.4 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.9284, allocations: 18.5 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.9284, allocations: 0.9375 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.9285, allocations: 163.4 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.9285, allocations: 384 / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.9285, allocations: 4.312 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.9286, allocations: 33.14 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9286, allocations: 3.938 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.9286, allocations: 3.938 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9286, allocations: 6.688 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.9286, allocations: 6.75 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.9287, allocations: 144.4 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.574e-05/0.9288, allocations: 24.95 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.9288, allocations: 7.609 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.9288, allocations: 6.625 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.9288, allocations: 34.56 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.9288, allocations: 0 / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.9289, allocations: 49.22 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.929, allocations: 54.22 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.929, allocations: 92.45 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.929, allocations: 25.7 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.929, allocations: 84.14 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.929, allocations: 3.953 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.9291, allocations: 19.75 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.9291, allocations: 313.7 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.9291, allocations: 4 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.9291, allocations: 10.75 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.9291, allocations: 10.73 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.9292, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.791e-05/0.9292, allocations: 41.27 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.9292, allocations: 7.062 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.9292, allocations: 8.031 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.9292, allocations: 0 / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.9294, allocations: 11.59 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/0.9296, allocations: 0.585 MB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.9296, allocations: 6.875 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.9296, allocations: 0 / 1.326 GB, free: 21.31 MB / 1.061 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 5.046e-05/0.9296, allocations: 116.7 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.9296, allocations: 7.375 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.122e-05/0.9297, allocations: 41.36 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9297, allocations: 3.469 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.9297, allocations: 3.938 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.9297, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.238e-05/0.9298, allocations: 156.5 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.9298, allocations: 0 / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.9299, allocations: 12.11 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9299, allocations: 4.031 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.9299, allocations: 0 / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001547/0.93, allocations: 0.5829 MB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.93, allocations: 3.938 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.965e-05/0.9301, allocations: 71.03 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.9301, allocations: 81.06 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.9301, allocations: 6.781 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.9301, allocations: 0 / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.9301, allocations: 3.938 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.9301, allocations: 2.938 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.433e-05/0.9301, allocations: 75.28 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9301, allocations: 0 / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001854/0.9303, allocations: 12.08 kB / 1.328 GB, free: 20.09 MB / 1.061 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.0001296/0.9305, allocations: 117.4 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.9306, allocations: 22 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9306, allocations: 0 / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.9307, allocations: 16.47 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.9308, allocations: 0 / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.9311, allocations: 145.3 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.273e-05/0.9312, allocations: 0.6719 MB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.9312, allocations: 7.438 kB / 1.329 GB, free: 19.13 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9312, allocations: 0 / 1.329 GB, free: 19.13 MB / 1.061 GB Notification: Performance of Templates: time 0.002148/0.9334, allocations: 0.6996 MB / 1.329 GB, free: 19.09 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.969801455008565]