Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00155/0.00155, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00191/0.00191, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",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.002141/0.002141, allocations: 65.77 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4132, allocations: 169.9 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002628/0.4159, allocations: 1.296 MB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.417, allocations: 0.5429 MB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.417, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.417, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.4171, allocations: 3.938 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.4177, allocations: 152.1 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.431e-05/0.4178, allocations: 19.92 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.4178, allocations: 8 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.4179, allocations: 7.938 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.4179, allocations: 11.92 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.4179, allocations: 4 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.4184, allocations: 283.5 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.4184, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.4184, allocations: 8 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.4187, allocations: 144.5 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4187, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4187, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4187, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 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.0005014/0.4192, allocations: 293.9 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4193, allocations: 15.97 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.4193, allocations: 4.125 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.4193, allocations: 34.69 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.4194, allocations: 4.938 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4195, allocations: 102.5 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4195, allocations: 4.375 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.4195, allocations: 4.375 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4197, allocations: 71.7 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4197, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4197, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.4197, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.4197, allocations: 7.984 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.4199, allocations: 128.8 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.4201, allocations: 42.55 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.4202, allocations: 24.94 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4202, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4202, allocations: 34.5 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4202, allocations: 4 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006512/0.4209, allocations: 241.1 kB / 1.287 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4209, allocations: 51.41 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.421, allocations: 110.1 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.421, allocations: 25.7 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.4211, allocations: 84.14 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4211, allocations: 15.86 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.4211, allocations: 29.69 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4213, allocations: 310.8 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.4213, allocations: 15.98 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.4213, allocations: 8 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.4214, allocations: 28.86 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4214, allocations: 4 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001063/0.4215, allocations: 69.62 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4215, allocations: 6.188 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4215, allocations: 0 / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4216, allocations: 4 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.4216, allocations: 15.92 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4216, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.4216, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4216, allocations: 7.938 kB / 1.288 GB, free: 6.168 MB / 0.9825 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.96e-05/0.4217, allocations: 113.8 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.4217, allocations: 15.89 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.4219, allocations: 73.67 kB / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4219, allocations: 0 / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4219, allocations: 4 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4219, allocations: 0 / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.4223, allocations: 274.5 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4223, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.4223, allocations: 19.92 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4223, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4223, allocations: 4.188 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.4223, allocations: 8.266 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4224, allocations: 4 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4226, allocations: 184.3 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.4226, allocations: 7.984 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.4226, allocations: 0 / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.4227, allocations: 4 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.4227, allocations: 7.922 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4227, allocations: 8 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.4228, allocations: 75.28 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4228, allocations: 4 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002489/0.423, allocations: 19.88 kB / 1.289 GB, free: 5.27 MB / 0.9825 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.0006135/0.4236, allocations: 0.7328 MB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.4237, allocations: 39.92 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4238, allocations: 0 / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.4238, allocations: 15.98 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.424, allocations: 13.17 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4254, allocations: 1.324 MB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.4255, allocations: 63.34 kB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.4255, allocations: 11.92 kB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.4256, allocations: 15.5 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4256, allocations: 0 / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.45, allocations: 1.779 MB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.32, allocations: 10.58 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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: 19.488063568947837]