Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001222/0.001222, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001577/0.001577, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.809 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.99/2.99, allocations: 0.49 GB / 0.7951 GB, free: 35.34 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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [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.00193/0.00193, allocations: 61.5 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002834/0.3349, allocations: 1.49 MB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3361, allocations: 0.5566 MB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.3361, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.3361, allocations: 7.922 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.3362, allocations: 3.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.3368, allocations: 159.4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.189e-05/0.3369, allocations: 51.84 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.3369, allocations: 8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.337, allocations: 23.91 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.3371, allocations: 23.92 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3371, allocations: 7.938 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.3375, allocations: 287.5 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.3376, allocations: 15.88 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.3376, allocations: 23.91 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3379, allocations: 171.6 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3379, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3379, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3379, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006044/0.3385, allocations: 321.8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3385, allocations: 8.031 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.3386, allocations: 38.75 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3386, allocations: 8.891 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3387, allocations: 106.5 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.3388, allocations: 8.375 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.3388, allocations: 16.31 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3391, allocations: 140.8 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3391, allocations: 3.938 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3391, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3391, allocations: 4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.3394, allocations: 47.95 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.3399, allocations: 279.7 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.3402, allocations: 90.45 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3403, allocations: 28.84 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3403, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3404, allocations: 38.55 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3404, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001565/0.3419, allocations: 0.4915 MB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.342, allocations: 59.39 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.342, allocations: 97.8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3421, allocations: 37.64 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.3421, allocations: 92.08 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.3422, allocations: 39.69 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.3422, allocations: 29.83 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3424, allocations: 318.8 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3425, allocations: 39.98 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3426, allocations: 27.97 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.3429, allocations: 72.83 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3429, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003202/0.3432, allocations: 117.6 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3432, allocations: 5.875 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3432, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3432, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3434, allocations: 27.92 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3434, allocations: 7.938 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.3434, allocations: 7.984 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3434, allocations: 4.312 kB / 1.331 GB, free: 11.88 MB / 1.029 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/0.3435, allocations: 114.4 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3436, allocations: 7.953 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.344, allocations: 141.5 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.344, allocations: 8 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.344, allocations: 3.938 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.344, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.3445, allocations: 341.6 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3445, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3447, allocations: 27.92 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3447, allocations: 3.938 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3447, allocations: 7.984 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.3447, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3447, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.3452, allocations: 253 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.3452, allocations: 7.984 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3452, allocations: 3.938 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3453, allocations: 4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.3454, allocations: 16.11 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3454, allocations: 7.984 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.3454, allocations: 83.2 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3454, allocations: 4.062 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002766/0.3457, allocations: 39.88 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009188/0.3466, allocations: 0.8177 MB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.3469, allocations: 79.83 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3469, allocations: 0 / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.3471, allocations: 47.97 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3474, allocations: 9.734 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3495, allocations: 1.593 MB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.402e-05/0.3496, allocations: 79.27 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.201e-05/0.3496, allocations: 12.61 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.3497, allocations: 27.36 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3497, allocations: 4 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3808, allocations: 2.901 MB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11, allocations: 2.844 kB / 1.338 GB, free: 5.234 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dp in file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable dp from file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! Error: Could not read variable der(dp) in file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable der(dp) from file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! Error: Could not read variable der(dp_comp) in file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable der(dp_comp) from file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.29347336399951]