Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 117.8 kB / 17.13 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 193.2 kB / 20.08 MB, free: 3.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.89 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2836, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002384/0.286, allocations: 1.255 MB / 1.215 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.287, allocations: 0.5838 MB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.287, allocations: 0 / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.287, allocations: 0 / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.287, allocations: 4 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.2876, allocations: 151.4 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.2876, allocations: 19.86 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.2876, allocations: 0 / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.432e-05/0.2877, allocations: 4 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.2877, allocations: 4 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.2877, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.2883, allocations: 343.3 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.916e-06/0.2883, allocations: 4 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.2883, allocations: 7.938 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.2886, allocations: 139.6 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2886, allocations: 0 / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2886, allocations: 3.938 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2886, allocations: 0 / 1.217 GB, free: 14.38 MB / 0.9669 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.0004375/0.289, allocations: 363 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.289, allocations: 8.031 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.2891, allocations: 4.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2892, allocations: 168.4 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2892, allocations: 384 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2892, allocations: 384 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/0.2893, allocations: 30.27 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2893, allocations: 8.109 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2893, allocations: 3.938 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2893, allocations: 0 / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.2894, allocations: 8 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.2895, allocations: 145.7 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.2896, allocations: 30.59 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.2896, allocations: 5.594 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2897, allocations: 4.062 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2897, allocations: 30.56 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2897, allocations: 0 / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.2898, allocations: 45.58 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2899, allocations: 55.53 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.2899, allocations: 97.84 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.29, allocations: 25.7 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.29, allocations: 84.14 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.29, allocations: 7.953 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.2901, allocations: 9.719 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2902, allocations: 314.8 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.2902, allocations: 8.109 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.2902, allocations: 8 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.2903, allocations: 12.8 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2903, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.485e-05/0.2903, allocations: 41.66 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2904, allocations: 4 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2904, allocations: 7.875 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2904, allocations: 4 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2905, allocations: 7.984 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004127/0.2909, allocations: 0.59 MB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.291, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.291, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 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 8.908e-05/0.2911, allocations: 109.8 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.2911, allocations: 12.02 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2912, allocations: 44.92 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2912, allocations: 3.938 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2912, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2912, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2913, allocations: 157.5 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2913, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.2914, allocations: 11.98 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2914, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.2914, allocations: 4 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003701/0.2918, allocations: 0.5899 MB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2918, allocations: 3.938 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.466e-05/0.2919, allocations: 65.16 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2919, allocations: 77.11 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2919, allocations: 4 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.2919, allocations: 4.125 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.292, allocations: 11.86 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.292, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.292, allocations: 79.27 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.292, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001985/0.2922, allocations: 8 kB / 1.22 GB, free: 10.72 MB / 0.9669 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.0001678/0.2924, allocations: 107.2 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2926, allocations: 24.08 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2926, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.2927, allocations: 15.98 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2928, allocations: 0 / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.2931, allocations: 135.6 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2934, allocations: 0.6729 MB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.2935, allocations: 15.56 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.2935, allocations: 0 / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.002538/0.296, allocations: 0.6973 MB / 1.221 GB, free: 8.992 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.14553553191945]