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.001436/0.001436, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001474/0.001474, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.914/2.914, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 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.002353/0.002353, allocations: 73.75 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002821/1.037, allocations: 1.306 MB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00125/1.038, allocations: 0.622 MB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/1.038, allocations: 0 / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/1.038, allocations: 1.531 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/1.038, allocations: 6 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/1.039, allocations: 149.8 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/1.039, allocations: 20.02 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/1.039, allocations: 5.734 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/1.039, allocations: 10.11 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/1.039, allocations: 9.359 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/1.039, allocations: 1.062 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/1.04, allocations: 345.2 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/1.04, allocations: 1.422 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/1.04, allocations: 13.12 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/1.04, allocations: 148.5 kB / 1.282 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.04, allocations: 4 kB / 1.282 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/1.04, allocations: 0.5625 kB / 1.282 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.04, allocations: 0 / 1.282 GB, free: 10.13 MB / 0.9981 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.000559/1.041, allocations: 367.8 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.041, allocations: 9.719 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.545e-05/1.041, allocations: 0.7188 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/1.041, allocations: 32.58 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/1.041, allocations: 2.594 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/1.041, allocations: 163.6 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/1.041, allocations: 9.469 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/1.041, allocations: 5.922 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.041, allocations: 48.56 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.041, allocations: 0 / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/1.041, allocations: 0.5312 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.041, allocations: 1.031 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/1.041, allocations: 8.016 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/1.041, allocations: 163.1 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/1.042, allocations: 42.86 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/1.042, allocations: 21.09 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/1.042, allocations: 1.797 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.042, allocations: 35.53 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.042, allocations: 0 / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0007523/1.042, allocations: 313.9 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.043, allocations: 56.53 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/1.043, allocations: 95.64 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/1.043, allocations: 30.41 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/1.043, allocations: 81.27 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/1.043, allocations: 28.38 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/1.043, allocations: 19.61 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.043, allocations: 313.4 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/1.043, allocations: 11.89 kB / 1.283 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/1.043, allocations: 16.44 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/1.043, allocations: 33.89 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/1.043, allocations: 3.938 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001079/1.043, allocations: 71.42 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.043, allocations: 5.719 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.043, allocations: 1.438 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.043, allocations: 0 / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/1.043, allocations: 11.12 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.043, allocations: 1.578 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/1.043, allocations: 4 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/1.043, allocations: 2.219 kB / 1.283 GB, free: 8.148 MB / 0.9981 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 0.0001012/1.043, allocations: 116.7 kB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/1.043, allocations: 11.27 kB / 1.284 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/1.044, allocations: 68.08 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.044, allocations: 1.062 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.044, allocations: 1.922 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.044, allocations: 3.984 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/1.044, allocations: 320.8 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.044, allocations: 1.094 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/1.044, allocations: 12 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.044, allocations: 0 / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/1.044, allocations: 1.969 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.044, allocations: 1.469 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.044, allocations: 0 / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/1.044, allocations: 188 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/1.044, allocations: 89.95 kB / 1.284 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/1.044, allocations: 5.812 kB / 1.284 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/1.044, allocations: 1.781 kB / 1.284 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/1.044, allocations: 5.312 kB / 1.284 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/1.044, allocations: 6 kB / 1.284 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.241e-05/1.045, allocations: 82.97 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.045, allocations: 0 / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002522/1.045, allocations: 19.08 kB / 1.284 GB, free: 7.273 MB / 0.9981 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.0006391/1.045, allocations: 0.7409 MB / 1.285 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001129/1.046, allocations: 25.86 kB / 1.285 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.046, allocations: 1.031 kB / 1.285 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/1.046, allocations: 27.2 kB / 1.285 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/1.046, allocations: 7.109 kB / 1.285 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/1.047, allocations: 1.325 MB / 1.286 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/1.048, allocations: 0.6833 MB / 1.287 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.044e-05/1.048, allocations: 4.484 kB / 1.287 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/1.048, allocations: 15.75 kB / 1.287 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.048, allocations: 0 / 1.287 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/1.067, allocations: 1.694 MB / 1.289 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.901, allocations: 9.688 kB / 1.289 GB, free: 4.191 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.488149631011765]