Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001607/0.001607, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.001677/0.001677, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.357/3.357, allocations: 0.4899 GB / 0.7916 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.002116/0.002116, allocations: 77.89 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4332, allocations: 176.1 MB / 1.321 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003051/0.4363, allocations: 1.296 MB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.4375, allocations: 0.6115 MB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.4376, allocations: 4 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.4376, allocations: 0 / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.4377, allocations: 7.922 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.4385, allocations: 139.4 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.4386, allocations: 19.88 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.4386, allocations: 15.97 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.4387, allocations: 8 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.4387, allocations: 7.938 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.4388, allocations: 0 / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000634/0.4394, allocations: 343.3 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.4394, allocations: 4 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.4394, allocations: 15.92 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.4398, allocations: 139.6 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4398, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4398, allocations: 3.938 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.4398, allocations: 0 / 1.324 GB, free: 296 kB / 1.014 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.0005555/0.4403, allocations: 367.1 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4404, allocations: 11.98 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.4404, allocations: 0.9375 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.4406, allocations: 176.3 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4406, allocations: 384 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4406, allocations: 4.312 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4407, allocations: 46.19 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4408, allocations: 192 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4408, allocations: 3.938 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4408, allocations: 4 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.4408, allocations: 15.98 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.441, allocations: 157.7 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.4413, allocations: 42.56 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.4413, allocations: 16.86 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.4413, allocations: 0 / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.4414, allocations: 42.5 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4414, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007438/0.4421, allocations: 306.3 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.4422, allocations: 55.41 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.4423, allocations: 93.86 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4423, allocations: 25.7 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.4424, allocations: 84.14 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.4424, allocations: 27.78 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.4425, allocations: 17.72 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4427, allocations: 322.8 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.4427, allocations: 4 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.4427, allocations: 12 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.792e-05/0.4428, allocations: 36.84 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4428, allocations: 3.938 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001194/0.4429, allocations: 66.14 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4429, allocations: 7.938 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4429, allocations: 7.984 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4429, allocations: 64 / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.443, allocations: 16 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.443, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.443, allocations: 4 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.443, allocations: 0 / 1.326 GB, free: 14.08 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.357e-05/0.4431, allocations: 109.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.4431, allocations: 7.891 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.4433, allocations: 89.56 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4433, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4433, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4433, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.4437, allocations: 311.4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4437, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.4438, allocations: 19.92 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4438, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4438, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4438, allocations: 4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4438, allocations: 4.031 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.444, allocations: 184.5 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.4441, allocations: 81.14 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.4441, allocations: 4 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.4442, allocations: 4 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.4442, allocations: 3.984 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.4442, allocations: 8.25 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.4442, allocations: 75.28 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4442, allocations: 0 / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002539/0.4445, allocations: 23.94 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0002276/0.4447, allocations: 131 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.4448, allocations: 39.92 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4449, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.4449, allocations: 27.92 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.4451, allocations: 11.02 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.4456, allocations: 188.2 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.446, allocations: 0.6845 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.446, allocations: 4 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.446, allocations: 11.44 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.446, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of Templates: time 0.003731/0.4498, allocations: 0.6414 MB / 1.328 GB, free: 11.29 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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: 9.370973410084844]