Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001413/0.001413, allocations: 109 kB / 17.54 MB, free: 4.781 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.001417/0.001417, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.322/1.322, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] 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.349/2.349, allocations: 443.5 MB / 0.7304 GB, free: 13.94 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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 71.89 kB / 1.059 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2535, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002193/0.2557, allocations: 1.296 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.2567, allocations: 0.6195 MB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.2567, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2567, allocations: 3.938 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.239e-05/0.2567, allocations: 8 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.2573, allocations: 147.4 kB / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.2573, allocations: 19.92 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.2573, allocations: 4 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.2574, allocations: 7.938 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.2574, allocations: 15.91 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.2574, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.2579, allocations: 339.4 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.2579, allocations: 8 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.2579, allocations: 11.92 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.2582, allocations: 147.8 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2582, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2582, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2582, allocations: 0 / 1.218 GB, free: 13.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003917/0.2586, allocations: 367 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2586, allocations: 12.03 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.2586, allocations: 34.75 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.2587, allocations: 4.875 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2588, allocations: 176.3 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-06/0.2588, allocations: 384 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2588, allocations: 384 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.2589, allocations: 42.25 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2589, allocations: 3.938 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2589, allocations: 0 / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.2589, allocations: 0 / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.2589, allocations: 12 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.2591, allocations: 153.7 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.2593, allocations: 46.55 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.2593, allocations: 24.88 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2593, allocations: 0 / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.2593, allocations: 34.56 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2593, allocations: 4 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0005523/0.2599, allocations: 310.6 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2599, allocations: 55.39 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.26, allocations: 97.86 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.26, allocations: 25.7 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.26, allocations: 84.08 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.2601, allocations: 27.78 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.2601, allocations: 17.72 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2602, allocations: 314.8 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.2602, allocations: 16.05 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.2603, allocations: 16 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.2603, allocations: 33 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2603, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001019/0.2604, allocations: 73.58 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2604, allocations: 4 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2604, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2604, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.2605, allocations: 19.92 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2605, allocations: 0 / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.2605, allocations: 4 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.2605, allocations: 0 / 1.22 GB, free: 11.07 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 (7): * Single equations (assignments): 7 * 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 6.743e-05/0.2606, allocations: 117.8 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.2606, allocations: 3.938 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.2607, allocations: 73.64 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2607, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2607, allocations: 3.938 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2607, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.261, allocations: 315.4 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.261, allocations: 0 / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.2611, allocations: 23.92 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2611, allocations: 0 / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2611, allocations: 0 / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2611, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2611, allocations: 3.938 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.2613, allocations: 180.5 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.2614, allocations: 85.19 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2614, allocations: 4 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.2614, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.2615, allocations: 11.98 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2615, allocations: 4 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.2615, allocations: 79.22 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2615, allocations: 0 / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002305/0.2617, allocations: 23.94 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0004972/0.2622, allocations: 0.7366 MB / 1.222 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.2623, allocations: 35.92 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2623, allocations: 0 / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.2623, allocations: 12.06 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2626, allocations: 10.06 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2637, allocations: 1.323 MB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.264, allocations: 0.6807 MB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.264, allocations: 4.25 kB / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.264, allocations: 19.42 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.264, allocations: 0 / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.2873, allocations: 1.599 MB / 1.225 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.312, allocations: 10.52 kB / 1.225 GB, free: 5.598 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dp in file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.530987919002655]