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.001302/0.001302, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001472/0.001472, allocations: 220.8 kB / 23.05 MB, free: 5.07 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.856/2.856, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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.002073/0.002073, allocations: 61.45 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003436/0.4118, allocations: 1.316 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.4131, allocations: 0.6091 MB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.4131, allocations: 7.875 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.4131, allocations: 7.922 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.4132, allocations: 0 / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.4138, allocations: 142.8 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.744e-05/0.4139, allocations: 31.84 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.414, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.414, allocations: 12 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.4141, allocations: 7.938 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.4141, allocations: 0 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.4147, allocations: 351.3 kB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.4147, allocations: 0 / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.4147, allocations: 7.938 kB / 1.287 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.415, allocations: 151.1 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.415, allocations: 0 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.415, allocations: 3.938 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.415, allocations: 0 / 1.287 GB, free: 9.121 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.0005056/0.4155, allocations: 293.9 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4156, allocations: 8.031 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.712e-05/0.4156, allocations: 4.188 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.4156, allocations: 34.73 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.4156, allocations: 0.9375 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4158, allocations: 106.5 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4158, allocations: 384 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.4158, allocations: 8.375 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4159, allocations: 46 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4159, allocations: 4 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4159, allocations: 0 / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4159, allocations: 0 / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.416, allocations: 11.94 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.4162, allocations: 132.7 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4164, allocations: 38.61 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.4164, allocations: 24.92 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4164, allocations: 4 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4165, allocations: 38.5 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4165, allocations: 3.938 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006827/0.4172, allocations: 233.1 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4172, allocations: 51.41 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.4173, allocations: 97.84 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.4173, allocations: 37.64 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.4174, allocations: 88.14 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.4174, allocations: 15.84 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.4174, allocations: 21.72 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4176, allocations: 314.8 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.4177, allocations: 11.98 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.4177, allocations: 8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.4178, allocations: 36.84 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4178, allocations: 0 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001075/0.4179, allocations: 73.56 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4179, allocations: 4 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4179, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4179, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.418, allocations: 19.98 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.418, allocations: 0 / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.418, allocations: 0 / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.418, allocations: 4 kB / 1.288 GB, free: 7.156 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 9.836e-05/0.4181, allocations: 109.8 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.4181, allocations: 15.89 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.4183, allocations: 73.67 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4183, allocations: 0 / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4183, allocations: 0 / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4183, allocations: 0 / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.4187, allocations: 286.4 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4187, allocations: 192 / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.4187, allocations: 12 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4187, allocations: 0 / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4187, allocations: 12.02 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4187, allocations: 0 / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4188, allocations: 240 / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.419, allocations: 176.3 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.419, allocations: 15.97 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.419, allocations: 7.938 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.4191, allocations: 64 / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.4191, allocations: 4 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.4191, allocations: 7.984 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.4192, allocations: 83.8 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4192, allocations: 3.938 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002543/0.4194, allocations: 19.88 kB / 1.289 GB, free: 6.258 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.0006978/0.4201, allocations: 0.7444 MB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4202, allocations: 27.98 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4203, allocations: 0 / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.4203, allocations: 15.94 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.4205, allocations: 10.06 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.422, allocations: 1.326 MB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4224, allocations: 0.6845 MB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.4225, allocations: 8 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.4225, allocations: 19.42 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4225, allocations: 0 / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.4464, allocations: 1.76 MB / 1.294 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.91, allocations: 4.438 kB / 1.294 GB, free: 1.707 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.871055750991218]