Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7158, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00223/0.7181, allocations: 1.472 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.719, allocations: 0.6333 MB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.719, allocations: 0 / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.7191, allocations: 5.203 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.7191, allocations: 13.53 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.7197, allocations: 160.8 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.7197, allocations: 57.11 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.7198, allocations: 8.406 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.646e-05/0.7199, allocations: 20.53 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.7199, allocations: 29.8 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.7199, allocations: 3.344 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/0.7205, allocations: 345 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.7205, allocations: 16.3 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.7206, allocations: 26.64 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.7209, allocations: 175.4 kB / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7209, allocations: 0 / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7209, allocations: 1.188 kB / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7209, allocations: 0 / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004942/0.7214, allocations: 401.2 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.7214, allocations: 9.922 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.7215, allocations: 4.156 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.7215, allocations: 176 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.7216, allocations: 7.406 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.7216, allocations: 5 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.7218, allocations: 83.33 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7219, allocations: 4.938 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.7219, allocations: 9.344 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7219, allocations: 1.406 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.7221, allocations: 47.27 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.7226, allocations: 322.1 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.7229, allocations: 83.67 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.723, allocations: 27.83 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.723, allocations: 5.609 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.7231, allocations: 36.45 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7231, allocations: 0 / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001507/0.7246, allocations: 0.6485 MB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/0.7246, allocations: 56.53 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.7247, allocations: 98.28 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7247, allocations: 30.83 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.7247, allocations: 91.98 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.7248, allocations: 38.38 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.7248, allocations: 29.91 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.7248, allocations: 318.4 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.725, allocations: 32.52 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.7251, allocations: 36.38 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.7254, allocations: 67.47 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7254, allocations: 0.6562 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003075/0.7257, allocations: 127.1 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.7257, allocations: 4.969 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7257, allocations: 1.5 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7257, allocations: 4.75 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.7259, allocations: 29.27 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.7259, allocations: 1.281 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.726, allocations: 12.62 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.726, allocations: 3.516 kB / 1.094 GB, free: 1.324 MB / 0.8575 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 (13): * Single equations (assignments): 13 * 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 5.511e-05/0.7261, allocations: 118.3 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.7261, allocations: 6.594 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.7265, allocations: 126.1 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7265, allocations: 0.7031 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7265, allocations: 1.734 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.7265, allocations: 86.84 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.7265, allocations: 5.438 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.7267, allocations: 6.5 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.7267, allocations: 6.875 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004012/0.7271, allocations: 208.4 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004827/0.7276, allocations: 333.4 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001376/0.7277, allocations: 40.39 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.098e-05/0.7278, allocations: 80.31 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of Backend: time 8.31e-07/0.7278, allocations: 4.062 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.7284, allocations: 194 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of SimCode: time 0.0006286/0.729, allocations: 0.7252 MB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.004754/0.7338, allocations: 1.761 MB / 1.098 GB, free: 15.6 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches