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.0008627/0.0008627, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008929/0.0008929, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8567/0.8567, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.67/1.67, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.677e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001501/0.001517, allocations: 1.283 MB / 0.9822 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.002156, allocations: 0.5136 MB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.002177, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.002196, allocations: 4 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.002239, allocations: 3.984 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.002618, allocations: 143.2 kB / 0.9829 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.28e-05/0.002671, allocations: 19.92 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.002712, allocations: 0 / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.002743, allocations: 4 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.002783, allocations: 0 / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.002796, allocations: 0 / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.003061, allocations: 283.3 kB / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.003073, allocations: 0 / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.003088, allocations: 0 / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.003277, allocations: 151.5 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003279, allocations: 0 / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00328, allocations: 0 / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003285, allocations: 0 / 0.9833 GB, free: 172 kB / 0.9323 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.0003014/0.003586, allocations: 270.1 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.003623, allocations: 12.03 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.00365, allocations: 30.75 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.00367, allocations: 4.938 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.256e-05/0.003742, allocations: 117.7 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.003752, allocations: 384 / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.003759, allocations: 4.312 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.598e-05/0.003835, allocations: 34.27 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003841, allocations: 192 / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.003847, allocations: 384 / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003853, allocations: 4.125 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.003875, allocations: 7.984 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.003996, allocations: 124.8 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.004039, allocations: 18.61 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.004056, allocations: 16.86 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.004073, allocations: 3.938 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.00409, allocations: 38.5 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 4.91e-07/0.004091, allocations: 0 / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.004215, allocations: 45.64 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.004247, allocations: 55.34 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.0043, allocations: 97.86 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.004309, allocations: 25.7 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.015e-05/0.004329, allocations: 80.39 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.004349, allocations: 7.953 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.004374, allocations: 21.7 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.004443, allocations: 310.8 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-06/0.004452, allocations: 3.938 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.004458, allocations: 4 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.00448, allocations: 12.86 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004482, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.621e-05/0.004518, allocations: 41.69 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004529, allocations: 4 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004534, allocations: 4.094 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.004543, allocations: 0 / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.004666, allocations: 11.94 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002445/0.00491, allocations: 0.586 MB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.004923, allocations: 4.031 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.004927, allocations: 0 / 0.9852 GB, free: 13.97 MB / 0.948 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.246e-05/0.00498, allocations: 109.8 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-06/0.004983, allocations: 3.938 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.005055, allocations: 53.09 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.005056, allocations: 0 / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.005061, allocations: 0 / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005064, allocations: 0 / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.122e-05/0.005125, allocations: 120.7 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.005127, allocations: 3.938 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.005169, allocations: 11.98 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005171, allocations: 0 / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.005177, allocations: 4 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001806/0.005357, allocations: 0.586 MB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005358, allocations: 0 / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.278e-05/0.005401, allocations: 76.97 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.005407, allocations: 4 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.005416, allocations: 4 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-06/0.005422, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.005433, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.005436, allocations: 3.984 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.005458, allocations: 79.28 kB / 0.9862 GB, free: 12.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005458, allocations: 3.938 kB / 0.9862 GB, free: 12.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001236/0.005582, allocations: 20.06 kB / 0.9863 GB, free: 12.8 MB / 0.948 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.0002518/0.005834, allocations: 0.6012 MB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.005942, allocations: 23.92 kB / 0.9869 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005944, allocations: 0 / 0.9869 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.005975, allocations: 15.98 kB / 0.9869 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.006078, allocations: 0 / 0.9869 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.006404, allocations: 137.6 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.006437, allocations: 59.34 kB / 0.9871 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.006451, allocations: 4 kB / 0.9871 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.006472, allocations: 8.5 kB / 0.9871 GB, free: 11.87 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.006473, allocations: 0 / 0.9871 GB, free: 11.87 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.01997, allocations: 1.963 MB / 0.989 GB, free: 10.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.118, allocations: 2.859 kB / 0.989 GB, free: 10.1 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/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: 11.135506255552173]