Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001281/0.001281, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001457/0.001457, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.009/3.009, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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_DerivativeCheck,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.002047/0.002047, allocations: 67.8 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002675/0.3177, allocations: 1.296 MB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3189, allocations: 0.541 MB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.3189, allocations: 0 / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.3189, allocations: 0 / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.319, allocations: 3.938 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.3197, allocations: 149.4 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.3198, allocations: 23.88 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.3198, allocations: 4 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.3199, allocations: 19.92 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.3199, allocations: 7.938 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3199, allocations: 0 / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.3204, allocations: 271.5 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.3204, allocations: 0 / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.3204, allocations: 8 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3208, allocations: 139.9 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3208, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.288e-06/0.3208, allocations: 4 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3208, allocations: 0 / 1.327 GB, free: 15.92 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004932/0.3213, allocations: 288.4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3213, allocations: 12.03 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.3214, allocations: 34.69 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.3214, allocations: 4.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3215, allocations: 110.3 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3215, allocations: 8.375 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.3215, allocations: 384 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3217, allocations: 67.95 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3217, allocations: 3.938 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.3217, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3217, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.309e-05/0.3217, allocations: 11.98 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.3219, allocations: 136.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.3221, allocations: 42.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.3222, allocations: 16.86 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3222, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3222, allocations: 34.56 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3222, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0006014/0.3228, allocations: 237.2 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3228, allocations: 51.41 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.3229, allocations: 97.86 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3229, allocations: 33.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.323, allocations: 80.14 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.323, allocations: 31.7 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.3231, allocations: 21.72 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3232, allocations: 310.8 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.3232, allocations: 19.92 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.3232, allocations: 12 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.754e-05/0.3233, allocations: 24.86 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3233, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001032/0.3234, allocations: 73.69 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3234, allocations: 9.875 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3234, allocations: 4 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3234, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.3235, allocations: 15.92 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3235, allocations: 0 / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.3235, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.3235, allocations: 0 / 1.329 GB, free: 13.93 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 (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 8.815e-05/0.3236, allocations: 120.9 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.3236, allocations: 7.891 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.3238, allocations: 69.73 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3238, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3238, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3238, allocations: 3.938 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.3241, allocations: 282.5 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3241, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.3242, allocations: 15.94 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3242, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3242, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3242, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3242, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.3245, allocations: 176.3 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3245, allocations: 12.08 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3245, allocations: 3.984 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.3246, allocations: 4.188 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.3246, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.3246, allocations: 12 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.3246, allocations: 87.2 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3246, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002463/0.3249, allocations: 15.94 kB / 1.33 GB, free: 13.03 MB / 1.029 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.0005864/0.3255, allocations: 0.7288 MB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.3256, allocations: 43.92 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3256, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.3256, allocations: 15.98 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3258, allocations: 4.938 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3271, allocations: 1.335 MB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.115e-05/0.3272, allocations: 63.34 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.3272, allocations: 4 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.3273, allocations: 19.38 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3273, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.3573, allocations: 2.106 MB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.24, allocations: 14.41 kB / 1.334 GB, free: 8.734 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_12_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: 17.517330746166408]